AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Route53RecoveryClusterClient.h
1
6#pragma once
7#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/route53-recovery-cluster/Route53RecoveryClusterServiceClientModel.h>
13
14namespace Aws
15{
16namespace Route53RecoveryCluster
17{
63 class AWS_ROUTE53RECOVERYCLUSTER_API Route53RecoveryClusterClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<Route53RecoveryClusterClient>
64 {
65 public:
67 static const char* GetServiceName();
68 static const char* GetAllocationTag();
69
72
78 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr);
79
85 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr,
87
92 Route53RecoveryClusterClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
93 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider = nullptr,
95
96
97 /* Legacy constructors due deprecation */
103
109 const Aws::Client::ClientConfiguration& clientConfiguration);
110
115 Route53RecoveryClusterClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
116 const Aws::Client::ClientConfiguration& clientConfiguration);
117
118 /* End of legacy constructors due deprecation */
120
150
154 template<typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
155 Model::GetRoutingControlStateOutcomeCallable GetRoutingControlStateCallable(const GetRoutingControlStateRequestT& request) const
156 {
157 return SubmitCallable(&Route53RecoveryClusterClient::GetRoutingControlState, request);
158 }
159
163 template<typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
164 void GetRoutingControlStateAsync(const GetRoutingControlStateRequestT& request, const GetRoutingControlStateResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
165 {
166 return SubmitAsync(&Route53RecoveryClusterClient::GetRoutingControlState, request, handler, context);
167 }
168
198
202 template<typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
203 Model::ListRoutingControlsOutcomeCallable ListRoutingControlsCallable(const ListRoutingControlsRequestT& request = {}) const
204 {
205 return SubmitCallable(&Route53RecoveryClusterClient::ListRoutingControls, request);
206 }
207
211 template<typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
212 void ListRoutingControlsAsync(const ListRoutingControlsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListRoutingControlsRequestT& request = {}) const
213 {
214 return SubmitAsync(&Route53RecoveryClusterClient::ListRoutingControls, request, handler, context);
215 }
216
250
254 template<typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
255 Model::UpdateRoutingControlStateOutcomeCallable UpdateRoutingControlStateCallable(const UpdateRoutingControlStateRequestT& request) const
256 {
257 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlState, request);
258 }
259
263 template<typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
264 void UpdateRoutingControlStateAsync(const UpdateRoutingControlStateRequestT& request, const UpdateRoutingControlStateResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
265 {
266 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlState, request, handler, context);
267 }
268
302
306 template<typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
307 Model::UpdateRoutingControlStatesOutcomeCallable UpdateRoutingControlStatesCallable(const UpdateRoutingControlStatesRequestT& request) const
308 {
309 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request);
310 }
311
315 template<typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
316 void UpdateRoutingControlStatesAsync(const UpdateRoutingControlStatesRequestT& request, const UpdateRoutingControlStatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
317 {
318 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request, handler, context);
319 }
320
321
322 void OverrideEndpoint(const Aws::String& endpoint);
323 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase>& accessEndpointProvider();
324 private:
326 void init(const Route53RecoveryClusterClientConfiguration& clientConfiguration);
327
328 Route53RecoveryClusterClientConfiguration m_clientConfiguration;
329 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> m_endpointProvider;
330 };
331
332} // namespace Route53RecoveryCluster
333} // 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
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::UpdateRoutingControlStatesOutcome UpdateRoutingControlStates(const Model::UpdateRoutingControlStatesRequest &request) const
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
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::shared_ptr< Route53RecoveryClusterEndpointProviderBase > & accessEndpointProvider()
std::future< ListRoutingControlsOutcome > ListRoutingControlsOutcomeCallable
std::future< UpdateRoutingControlStatesOutcome > UpdateRoutingControlStatesOutcomeCallable
std::future< GetRoutingControlStateOutcome > GetRoutingControlStateOutcomeCallable
std::future< UpdateRoutingControlStateOutcome > UpdateRoutingControlStateOutcomeCallable
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::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::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