AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
Route53RecoveryClusterClient.h
1
6#pragma once
7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/route53-recovery-cluster/Route53RecoveryClusterPaginationBase.h>
12#include <aws/route53-recovery-cluster/Route53RecoveryClusterServiceClientModel.h>
13#include <aws/route53-recovery-cluster/Route53RecoveryClusterWaiter.h>
14#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
15
16namespace Aws {
17namespace Route53RecoveryCluster {
63class AWS_ROUTE53RECOVERYCLUSTER_API Route53RecoveryClusterClient
65 public Aws::Client::ClientWithAsyncTemplateMethods<Route53RecoveryClusterClient>,
66 public Route53RecoveryClusterPaginationBase<Route53RecoveryClusterClient>,
67 public Route53RecoveryClusterWaiter<Route53RecoveryClusterClient> {
68 public:
70 static const char* GetServiceName();
71 static const char* GetAllocationTag();
72
75
82 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr);
83
89 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr,
92
97 Route53RecoveryClusterClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
98 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr,
101
102 /* Legacy constructors due deprecation */
108
114
119 Route53RecoveryClusterClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
120 const Aws::Client::ClientConfiguration& clientConfiguration);
121
122 /* End of legacy constructors due deprecation */
124
154
159 template <typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
160 Model::GetRoutingControlStateOutcomeCallable GetRoutingControlStateCallable(const GetRoutingControlStateRequestT& request) const {
161 return SubmitCallable(&Route53RecoveryClusterClient::GetRoutingControlState, request);
162 }
163
168 template <typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
169 void GetRoutingControlStateAsync(const GetRoutingControlStateRequestT& request,
171 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
172 return SubmitAsync(&Route53RecoveryClusterClient::GetRoutingControlState, request, handler, context);
173 }
174
204
209 template <typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
210 Model::ListRoutingControlsOutcomeCallable ListRoutingControlsCallable(const ListRoutingControlsRequestT& request = {}) const {
211 return SubmitCallable(&Route53RecoveryClusterClient::ListRoutingControls, request);
212 }
213
218 template <typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
220 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
221 const ListRoutingControlsRequestT& request = {}) const {
222 return SubmitAsync(&Route53RecoveryClusterClient::ListRoutingControls, request, handler, context);
223 }
224
258
263 template <typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
265 const UpdateRoutingControlStateRequestT& request) const {
266 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlState, request);
267 }
268
273 template <typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
274 void UpdateRoutingControlStateAsync(const UpdateRoutingControlStateRequestT& request,
276 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
277 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlState, request, handler, context);
278 }
279
313 const Model::UpdateRoutingControlStatesRequest& request) const;
314
319 template <typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
321 const UpdateRoutingControlStatesRequestT& request) const {
322 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request);
323 }
324
329 template <typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
330 void UpdateRoutingControlStatesAsync(const UpdateRoutingControlStatesRequestT& request,
332 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
333 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request, handler, context);
334 }
335
336 virtual void OverrideEndpoint(const Aws::String& endpoint);
337 virtual std::shared_ptr<Route53RecoveryClusterEndpointProviderBase>& accessEndpointProvider();
338
339 private:
341 void init(const Route53RecoveryClusterClientConfiguration& clientConfiguration);
342
344
345 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request, Aws::Http::HttpMethod httpMethod) const;
346
347 Route53RecoveryClusterClientConfiguration m_clientConfiguration;
348 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> m_endpointProvider;
349};
350
351} // namespace Route53RecoveryCluster
352} // namespace Aws
Route53RecoveryClusterClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::UpdateRoutingControlStateOutcomeCallable UpdateRoutingControlStateCallable(const UpdateRoutingControlStateRequestT &request) const
Route53RecoveryClusterClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< Route53RecoveryClusterEndpointProviderBase > endpointProvider=nullptr, const Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration &clientConfiguration=Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration())
virtual Model::GetRoutingControlStateOutcome GetRoutingControlState(const Model::GetRoutingControlStateRequest &request) const
virtual Model::ListRoutingControlsOutcome ListRoutingControls(const Model::ListRoutingControlsRequest &request={}) const
Model::ListRoutingControlsOutcomeCallable ListRoutingControlsCallable(const ListRoutingControlsRequestT &request={}) const
virtual Model::UpdateRoutingControlStatesOutcome UpdateRoutingControlStates(const Model::UpdateRoutingControlStatesRequest &request) const
virtual std::shared_ptr< Route53RecoveryClusterEndpointProviderBase > & accessEndpointProvider()
Model::GetRoutingControlStateOutcomeCallable GetRoutingControlStateCallable(const GetRoutingControlStateRequestT &request) const
void UpdateRoutingControlStatesAsync(const UpdateRoutingControlStatesRequestT &request, const UpdateRoutingControlStatesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListRoutingControlsAsync(const ListRoutingControlsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListRoutingControlsRequestT &request={}) const
Model::UpdateRoutingControlStatesOutcomeCallable UpdateRoutingControlStatesCallable(const UpdateRoutingControlStatesRequestT &request) const
virtual Model::UpdateRoutingControlStateOutcome UpdateRoutingControlState(const Model::UpdateRoutingControlStateRequest &request) const
Route53RecoveryClusterClient(const Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration &clientConfiguration=Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration(), std::shared_ptr< Route53RecoveryClusterEndpointProviderBase > endpointProvider=nullptr)
void UpdateRoutingControlStateAsync(const UpdateRoutingControlStateRequestT &request, const UpdateRoutingControlStateResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetRoutingControlStateAsync(const GetRoutingControlStateRequestT &request, const GetRoutingControlStateResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual void OverrideEndpoint(const Aws::String &endpoint)
Route53RecoveryClusterClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Route53RecoveryClusterClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Route53RecoveryClusterClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< Route53RecoveryClusterEndpointProviderBase > endpointProvider=nullptr, const Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration &clientConfiguration=Aws::Route53RecoveryCluster::Route53RecoveryClusterClientConfiguration())
std::future< ListRoutingControlsOutcome > ListRoutingControlsOutcomeCallable
std::future< UpdateRoutingControlStatesOutcome > UpdateRoutingControlStatesOutcomeCallable
std::future< GetRoutingControlStateOutcome > GetRoutingControlStateOutcomeCallable
std::future< UpdateRoutingControlStateOutcome > UpdateRoutingControlStateOutcomeCallable
std::function< void(const Route53RecoveryClusterClient *, const Model::UpdateRoutingControlStateRequest &, const Model::UpdateRoutingControlStateOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateRoutingControlStateResponseReceivedHandler
std::function< void(const Route53RecoveryClusterClient *, const Model::ListRoutingControlsRequest &, const Model::ListRoutingControlsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListRoutingControlsResponseReceivedHandler
std::function< void(const Route53RecoveryClusterClient *, const Model::UpdateRoutingControlStatesRequest &, const Model::UpdateRoutingControlStatesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateRoutingControlStatesResponseReceivedHandler
std::function< void(const Route53RecoveryClusterClient *, const Model::GetRoutingControlStateRequest &, const Model::GetRoutingControlStateOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetRoutingControlStateResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String