7#include <aws/rbin/RecycleBin_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/rbin/RecycleBinServiceClientModel.h>
49 std::shared_ptr<RecycleBinEndpointProviderBase> endpointProvider =
nullptr);
56 std::shared_ptr<RecycleBinEndpointProviderBase> endpointProvider =
nullptr,
63 RecycleBinClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<RecycleBinEndpointProviderBase> endpointProvider =
nullptr,
86 RecycleBinClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
105 template<
typename CreateRuleRequestT = Model::CreateRuleRequest>
108 return SubmitCallable(&RecycleBinClient::CreateRule, request);
114 template<
typename CreateRuleRequestT = Model::CreateRuleRequest>
117 return SubmitAsync(&RecycleBinClient::CreateRule, request, handler, context);
133 template<
typename DeleteRuleRequestT = Model::DeleteRuleRequest>
136 return SubmitCallable(&RecycleBinClient::DeleteRule, request);
142 template<
typename DeleteRuleRequestT = Model::DeleteRuleRequest>
145 return SubmitAsync(&RecycleBinClient::DeleteRule, request, handler, context);
158 template<
typename GetRuleRequestT = Model::GetRuleRequest>
161 return SubmitCallable(&RecycleBinClient::GetRule, request);
167 template<
typename GetRuleRequestT = Model::GetRuleRequest>
170 return SubmitAsync(&RecycleBinClient::GetRule, request, handler, context);
183 template<
typename ListRulesRequestT = Model::ListRulesRequest>
186 return SubmitCallable(&RecycleBinClient::ListRules, request);
192 template<
typename ListRulesRequestT = Model::ListRulesRequest>
195 return SubmitAsync(&RecycleBinClient::ListRules, request, handler, context);
208 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
211 return SubmitCallable(&RecycleBinClient::ListTagsForResource, request);
217 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
220 return SubmitAsync(&RecycleBinClient::ListTagsForResource, request, handler, context);
234 template<
typename LockRuleRequestT = Model::LockRuleRequest>
237 return SubmitCallable(&RecycleBinClient::LockRule, request);
243 template<
typename LockRuleRequestT = Model::LockRuleRequest>
246 return SubmitAsync(&RecycleBinClient::LockRule, request, handler, context);
259 template<
typename TagResourceRequestT = Model::TagResourceRequest>
262 return SubmitCallable(&RecycleBinClient::TagResource, request);
268 template<
typename TagResourceRequestT = Model::TagResourceRequest>
271 return SubmitAsync(&RecycleBinClient::TagResource, request, handler, context);
286 template<
typename UnlockRuleRequestT = Model::UnlockRuleRequest>
289 return SubmitCallable(&RecycleBinClient::UnlockRule, request);
295 template<
typename UnlockRuleRequestT = Model::UnlockRuleRequest>
298 return SubmitAsync(&RecycleBinClient::UnlockRule, request, handler, context);
311 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
314 return SubmitCallable(&RecycleBinClient::UntagResource, request);
320 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
323 return SubmitAsync(&RecycleBinClient::UntagResource, request, handler, context);
342 template<
typename UpdateRuleRequestT = Model::UpdateRuleRequest>
345 return SubmitCallable(&RecycleBinClient::UpdateRule, request);
351 template<
typename UpdateRuleRequestT = Model::UpdateRuleRequest>
354 return SubmitAsync(&RecycleBinClient::UpdateRule, request, handler, context);
365 std::shared_ptr<RecycleBinEndpointProviderBase> m_endpointProvider;
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetRuleOutcomeCallable GetRuleCallable(const GetRuleRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RecycleBinClient(const Aws::RecycleBin::RecycleBinClientConfiguration &clientConfiguration=Aws::RecycleBin::RecycleBinClientConfiguration(), std::shared_ptr< RecycleBinEndpointProviderBase > endpointProvider=nullptr)
RecycleBinClientConfiguration ClientConfigurationType
RecycleBinClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
void GetRuleAsync(const GetRuleRequestT &request, const GetRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::LockRuleOutcome LockRule(const Model::LockRuleRequest &request) const
Model::UpdateRuleOutcomeCallable UpdateRuleCallable(const UpdateRuleRequestT &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual ~RecycleBinClient()
virtual Model::DeleteRuleOutcome DeleteRule(const Model::DeleteRuleRequest &request) const
std::shared_ptr< RecycleBinEndpointProviderBase > & accessEndpointProvider()
Model::DeleteRuleOutcomeCallable DeleteRuleCallable(const DeleteRuleRequestT &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
RecycleBinClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::CreateRuleOutcomeCallable CreateRuleCallable(const CreateRuleRequestT &request) const
Aws::Client::AWSJsonClient BASECLASS
virtual Model::UpdateRuleOutcome UpdateRule(const Model::UpdateRuleRequest &request) const
void ListRulesAsync(const ListRulesRequestT &request, const ListRulesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListRulesOutcomeCallable ListRulesCallable(const ListRulesRequestT &request) const
void UnlockRuleAsync(const UnlockRuleRequestT &request, const UnlockRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void LockRuleAsync(const LockRuleRequestT &request, const LockRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RecycleBinClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< RecycleBinEndpointProviderBase > endpointProvider=nullptr, const Aws::RecycleBin::RecycleBinClientConfiguration &clientConfiguration=Aws::RecycleBin::RecycleBinClientConfiguration())
static const char * GetAllocationTag()
virtual Model::CreateRuleOutcome CreateRule(const Model::CreateRuleRequest &request) const
virtual Model::UnlockRuleOutcome UnlockRule(const Model::UnlockRuleRequest &request) const
RecycleBinClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< RecycleBinEndpointProviderBase > endpointProvider=nullptr, const Aws::RecycleBin::RecycleBinClientConfiguration &clientConfiguration=Aws::RecycleBin::RecycleBinClientConfiguration())
virtual Model::ListRulesOutcome ListRules(const Model::ListRulesRequest &request) const
static const char * GetServiceName()
void DeleteRuleAsync(const DeleteRuleRequestT &request, const DeleteRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RecycleBinClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RecycleBinEndpointProvider EndpointProviderType
void UpdateRuleAsync(const UpdateRuleRequestT &request, const UpdateRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::LockRuleOutcomeCallable LockRuleCallable(const LockRuleRequestT &request) const
virtual Model::GetRuleOutcome GetRule(const Model::GetRuleRequest &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
void CreateRuleAsync(const CreateRuleRequestT &request, const CreateRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UnlockRuleOutcomeCallable UnlockRuleCallable(const UnlockRuleRequestT &request) const
std::future< GetRuleOutcome > GetRuleOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< UpdateRuleOutcome > UpdateRuleOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< DeleteRuleOutcome > DeleteRuleOutcomeCallable
std::future< CreateRuleOutcome > CreateRuleOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< UnlockRuleOutcome > UnlockRuleOutcomeCallable
std::future< ListRulesOutcome > ListRulesOutcomeCallable
std::future< LockRuleOutcome > LockRuleOutcomeCallable
std::function< void(const RecycleBinClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::DeleteRuleRequest &, const Model::DeleteRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::LockRuleRequest &, const Model::LockRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > LockRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::UpdateRuleRequest &, const Model::UpdateRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::GetRuleRequest &, const Model::GetRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::CreateRuleRequest &, const Model::CreateRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::UnlockRuleRequest &, const Model::UnlockRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnlockRuleResponseReceivedHandler
std::function< void(const RecycleBinClient *, const Model::ListRulesRequest &, const Model::ListRulesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRulesResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String