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>
17namespace Route53RecoveryCluster {
82 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr);
89 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr,
98 std::shared_ptr<Route53RecoveryClusterEndpointProviderBase> endpointProvider =
nullptr,
159 template <
typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
161 return SubmitCallable(&Route53RecoveryClusterClient::GetRoutingControlState, request);
168 template <
typename GetRoutingControlStateRequestT = Model::GetRoutingControlStateRequest>
171 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
172 return SubmitAsync(&Route53RecoveryClusterClient::GetRoutingControlState, request, handler, context);
209 template <
typename ListRoutingControlsRequestT = Model::ListRoutingControlsRequest>
211 return SubmitCallable(&Route53RecoveryClusterClient::ListRoutingControls, request);
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);
263 template <
typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
265 const UpdateRoutingControlStateRequestT& request)
const {
266 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlState, request);
273 template <
typename UpdateRoutingControlStateRequestT = Model::UpdateRoutingControlStateRequest>
276 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
277 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlState, request, handler, context);
319 template <
typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
321 const UpdateRoutingControlStatesRequestT& request)
const {
322 return SubmitCallable(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request);
329 template <
typename UpdateRoutingControlStatesRequestT = Model::UpdateRoutingControlStatesRequest>
332 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
333 return SubmitAsync(&Route53RecoveryClusterClient::UpdateRoutingControlStates, request, handler, context);
348 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
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
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
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())
static const char * GetServiceName()
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