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/Route53RecoveryClusterServiceClientModel.h>
12#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
15namespace Route53RecoveryCluster {
78 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr);
85 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr,
94 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr,
155 template <
typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
157 return SubmitCallable(&Route53RecoveryClusterClient::GetRoutingControlState, request);
164 template <
typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
167 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
168 return SubmitAsync(&Route53RecoveryClusterClient::GetRoutingControlState, request, handler, context);
205 template <
typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
207 return SubmitCallable(&Route53RecoveryClusterClient::ListRoutingControls, request);
214 template <
typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
216 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
217 const ListRoutingControlsRequestT& request = {})
const {
218 return SubmitAsync(&Route53RecoveryClusterClient::ListRoutingControls, request, handler, context);
259 template <
typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
261 const UpdateRoutingControlStateRequestT& request)
const {
262 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlState, request);
269 template <
typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
272 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
273 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlState, request, handler, context);
315 template <
typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
317 const UpdateRoutingControlStatesRequestT& request)
const {
318 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request);
325 template <
typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
328 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
329 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request, handler, context);
340 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> m_endpointProvider;
Route53RecoveryClusterClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Route53RecoveryClusterEndpointProvider EndpointProviderType
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())
Route53RecoveryClusterClientConfiguration ClientConfigurationType
virtual Model::GetRoutingControlStateOutcome GetRoutingControlState(const Model::GetRoutingControlStateRequest &request) const
static const char * GetAllocationTag()
virtual Model::ListRoutingControlsOutcome ListRoutingControls(const Model::ListRoutingControlsRequest &request={}) const
Model::ListRoutingControlsOutcomeCallable ListRoutingControlsCallable(const ListRoutingControlsRequestT &request={}) const
Aws::Client::AWSJsonClient BASECLASS
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
virtual ~Route53RecoveryClusterClient()
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())
static const char * GetServiceName()
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::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