This line is also important:
auto result_future = client->async_send_request(request);
Send an asynchronous request to the Service Server using the async_send_request() method. Then, store the response from the Server in the variable result.
I think the correct variable is result_future. result is already used to hold a shared pointer a request object.