AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaxSettingsClient.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_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/taxsettings/TaxSettingsServiceClientModel.h>
13
14namespace Aws
15{
16namespace TaxSettings
17{
27 class AWS_TAXSETTINGS_API TaxSettingsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<TaxSettingsClient>
28 {
29 public:
31 static const char* GetServiceName();
32 static const char* GetAllocationTag();
33
36
42 std::shared_ptr<TaxSettingsEndpointProviderBase> endpointProvider = nullptr);
43
49 std::shared_ptr<TaxSettingsEndpointProviderBase> endpointProvider = nullptr,
51
56 TaxSettingsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
57 std::shared_ptr<TaxSettingsEndpointProviderBase> endpointProvider = nullptr,
59
60
61 /* Legacy constructors due deprecation */
67
73 const Aws::Client::ClientConfiguration& clientConfiguration);
74
79 TaxSettingsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
82 /* End of legacy constructors due deprecation */
84
97
101 template<typename BatchDeleteTaxRegistrationRequestT = Model::BatchDeleteTaxRegistrationRequest>
102 Model::BatchDeleteTaxRegistrationOutcomeCallable BatchDeleteTaxRegistrationCallable(const BatchDeleteTaxRegistrationRequestT& request) const
103 {
104 return SubmitCallable(&TaxSettingsClient::BatchDeleteTaxRegistration, request);
105 }
106
110 template<typename BatchDeleteTaxRegistrationRequestT = Model::BatchDeleteTaxRegistrationRequest>
111 void BatchDeleteTaxRegistrationAsync(const BatchDeleteTaxRegistrationRequestT& request, const BatchDeleteTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
112 {
113 return SubmitAsync(&TaxSettingsClient::BatchDeleteTaxRegistration, request, handler, context);
114 }
115
208
212 template<typename BatchPutTaxRegistrationRequestT = Model::BatchPutTaxRegistrationRequest>
213 Model::BatchPutTaxRegistrationOutcomeCallable BatchPutTaxRegistrationCallable(const BatchPutTaxRegistrationRequestT& request) const
214 {
215 return SubmitCallable(&TaxSettingsClient::BatchPutTaxRegistration, request);
216 }
217
221 template<typename BatchPutTaxRegistrationRequestT = Model::BatchPutTaxRegistrationRequest>
222 void BatchPutTaxRegistrationAsync(const BatchPutTaxRegistrationRequestT& request, const BatchPutTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
223 {
224 return SubmitAsync(&TaxSettingsClient::BatchPutTaxRegistration, request, handler, context);
225 }
226
234
238 template<typename DeleteSupplementalTaxRegistrationRequestT = Model::DeleteSupplementalTaxRegistrationRequest>
240 {
241 return SubmitCallable(&TaxSettingsClient::DeleteSupplementalTaxRegistration, request);
242 }
243
247 template<typename DeleteSupplementalTaxRegistrationRequestT = Model::DeleteSupplementalTaxRegistrationRequest>
248 void DeleteSupplementalTaxRegistrationAsync(const DeleteSupplementalTaxRegistrationRequestT& request, const DeleteSupplementalTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
249 {
250 return SubmitAsync(&TaxSettingsClient::DeleteSupplementalTaxRegistration, request, handler, context);
251 }
252
263
267 template<typename DeleteTaxRegistrationRequestT = Model::DeleteTaxRegistrationRequest>
268 Model::DeleteTaxRegistrationOutcomeCallable DeleteTaxRegistrationCallable(const DeleteTaxRegistrationRequestT& request = {}) const
269 {
270 return SubmitCallable(&TaxSettingsClient::DeleteTaxRegistration, request);
271 }
272
276 template<typename DeleteTaxRegistrationRequestT = Model::DeleteTaxRegistrationRequest>
277 void DeleteTaxRegistrationAsync(const DeleteTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DeleteTaxRegistrationRequestT& request = {}) const
278 {
279 return SubmitAsync(&TaxSettingsClient::DeleteTaxRegistration, request, handler, context);
280 }
281
289
293 template<typename GetTaxRegistrationRequestT = Model::GetTaxRegistrationRequest>
294 Model::GetTaxRegistrationOutcomeCallable GetTaxRegistrationCallable(const GetTaxRegistrationRequestT& request = {}) const
295 {
296 return SubmitCallable(&TaxSettingsClient::GetTaxRegistration, request);
297 }
298
302 template<typename GetTaxRegistrationRequestT = Model::GetTaxRegistrationRequest>
303 void GetTaxRegistrationAsync(const GetTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetTaxRegistrationRequestT& request = {}) const
304 {
305 return SubmitAsync(&TaxSettingsClient::GetTaxRegistration, request, handler, context);
306 }
307
315
319 template<typename GetTaxRegistrationDocumentRequestT = Model::GetTaxRegistrationDocumentRequest>
320 Model::GetTaxRegistrationDocumentOutcomeCallable GetTaxRegistrationDocumentCallable(const GetTaxRegistrationDocumentRequestT& request) const
321 {
322 return SubmitCallable(&TaxSettingsClient::GetTaxRegistrationDocument, request);
323 }
324
328 template<typename GetTaxRegistrationDocumentRequestT = Model::GetTaxRegistrationDocumentRequest>
329 void GetTaxRegistrationDocumentAsync(const GetTaxRegistrationDocumentRequestT& request, const GetTaxRegistrationDocumentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
330 {
331 return SubmitAsync(&TaxSettingsClient::GetTaxRegistrationDocument, request, handler, context);
332 }
333
341
345 template<typename ListSupplementalTaxRegistrationsRequestT = Model::ListSupplementalTaxRegistrationsRequest>
346 Model::ListSupplementalTaxRegistrationsOutcomeCallable ListSupplementalTaxRegistrationsCallable(const ListSupplementalTaxRegistrationsRequestT& request = {}) const
347 {
348 return SubmitCallable(&TaxSettingsClient::ListSupplementalTaxRegistrations, request);
349 }
350
354 template<typename ListSupplementalTaxRegistrationsRequestT = Model::ListSupplementalTaxRegistrationsRequest>
355 void ListSupplementalTaxRegistrationsAsync(const ListSupplementalTaxRegistrationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSupplementalTaxRegistrationsRequestT& request = {}) const
356 {
357 return SubmitAsync(&TaxSettingsClient::ListSupplementalTaxRegistrations, request, handler, context);
358 }
359
368
372 template<typename ListTaxRegistrationsRequestT = Model::ListTaxRegistrationsRequest>
373 Model::ListTaxRegistrationsOutcomeCallable ListTaxRegistrationsCallable(const ListTaxRegistrationsRequestT& request = {}) const
374 {
375 return SubmitCallable(&TaxSettingsClient::ListTaxRegistrations, request);
376 }
377
381 template<typename ListTaxRegistrationsRequestT = Model::ListTaxRegistrationsRequest>
382 void ListTaxRegistrationsAsync(const ListTaxRegistrationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListTaxRegistrationsRequestT& request = {}) const
383 {
384 return SubmitAsync(&TaxSettingsClient::ListTaxRegistrations, request, handler, context);
385 }
386
394
398 template<typename PutSupplementalTaxRegistrationRequestT = Model::PutSupplementalTaxRegistrationRequest>
399 Model::PutSupplementalTaxRegistrationOutcomeCallable PutSupplementalTaxRegistrationCallable(const PutSupplementalTaxRegistrationRequestT& request) const
400 {
401 return SubmitCallable(&TaxSettingsClient::PutSupplementalTaxRegistration, request);
402 }
403
407 template<typename PutSupplementalTaxRegistrationRequestT = Model::PutSupplementalTaxRegistrationRequest>
408 void PutSupplementalTaxRegistrationAsync(const PutSupplementalTaxRegistrationRequestT& request, const PutSupplementalTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
409 {
410 return SubmitAsync(&TaxSettingsClient::PutSupplementalTaxRegistration, request, handler, context);
411 }
412
504
508 template<typename PutTaxRegistrationRequestT = Model::PutTaxRegistrationRequest>
509 Model::PutTaxRegistrationOutcomeCallable PutTaxRegistrationCallable(const PutTaxRegistrationRequestT& request) const
510 {
511 return SubmitCallable(&TaxSettingsClient::PutTaxRegistration, request);
512 }
513
517 template<typename PutTaxRegistrationRequestT = Model::PutTaxRegistrationRequest>
518 void PutTaxRegistrationAsync(const PutTaxRegistrationRequestT& request, const PutTaxRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
519 {
520 return SubmitAsync(&TaxSettingsClient::PutTaxRegistration, request, handler, context);
521 }
522
523
524 void OverrideEndpoint(const Aws::String& endpoint);
525 std::shared_ptr<TaxSettingsEndpointProviderBase>& accessEndpointProvider();
526 private:
528 void init(const TaxSettingsClientConfiguration& clientConfiguration);
529
530 TaxSettingsClientConfiguration m_clientConfiguration;
531 std::shared_ptr<TaxSettingsEndpointProviderBase> m_endpointProvider;
532 };
533
534} // namespace TaxSettings
535} // namespace Aws
virtual Model::PutSupplementalTaxRegistrationOutcome PutSupplementalTaxRegistration(const Model::PutSupplementalTaxRegistrationRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::BatchDeleteTaxRegistrationOutcomeCallable BatchDeleteTaxRegistrationCallable(const BatchDeleteTaxRegistrationRequestT &request) const
static const char * GetAllocationTag()
virtual Model::DeleteTaxRegistrationOutcome DeleteTaxRegistration(const Model::DeleteTaxRegistrationRequest &request={}) const
void DeleteSupplementalTaxRegistrationAsync(const DeleteSupplementalTaxRegistrationRequestT &request, const DeleteSupplementalTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TaxSettingsClientConfiguration ClientConfigurationType
TaxSettingsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void GetTaxRegistrationDocumentAsync(const GetTaxRegistrationDocumentRequestT &request, const GetTaxRegistrationDocumentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::BatchDeleteTaxRegistrationOutcome BatchDeleteTaxRegistration(const Model::BatchDeleteTaxRegistrationRequest &request) const
void DeleteTaxRegistrationAsync(const DeleteTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DeleteTaxRegistrationRequestT &request={}) const
virtual Model::DeleteSupplementalTaxRegistrationOutcome DeleteSupplementalTaxRegistration(const Model::DeleteSupplementalTaxRegistrationRequest &request) const
Model::DeleteTaxRegistrationOutcomeCallable DeleteTaxRegistrationCallable(const DeleteTaxRegistrationRequestT &request={}) const
void ListSupplementalTaxRegistrationsAsync(const ListSupplementalTaxRegistrationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSupplementalTaxRegistrationsRequestT &request={}) const
void GetTaxRegistrationAsync(const GetTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetTaxRegistrationRequestT &request={}) const
Model::BatchPutTaxRegistrationOutcomeCallable BatchPutTaxRegistrationCallable(const BatchPutTaxRegistrationRequestT &request) const
virtual Model::BatchPutTaxRegistrationOutcome BatchPutTaxRegistration(const Model::BatchPutTaxRegistrationRequest &request) const
void BatchPutTaxRegistrationAsync(const BatchPutTaxRegistrationRequestT &request, const BatchPutTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetTaxRegistrationDocumentOutcome GetTaxRegistrationDocument(const Model::GetTaxRegistrationDocumentRequest &request) const
virtual Model::GetTaxRegistrationOutcome GetTaxRegistration(const Model::GetTaxRegistrationRequest &request={}) const
TaxSettingsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListTaxRegistrationsOutcome ListTaxRegistrations(const Model::ListTaxRegistrationsRequest &request={}) const
void ListTaxRegistrationsAsync(const ListTaxRegistrationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListTaxRegistrationsRequestT &request={}) const
std::shared_ptr< TaxSettingsEndpointProviderBase > & accessEndpointProvider()
Model::PutTaxRegistrationOutcomeCallable PutTaxRegistrationCallable(const PutTaxRegistrationRequestT &request) const
Model::PutSupplementalTaxRegistrationOutcomeCallable PutSupplementalTaxRegistrationCallable(const PutSupplementalTaxRegistrationRequestT &request) const
Model::DeleteSupplementalTaxRegistrationOutcomeCallable DeleteSupplementalTaxRegistrationCallable(const DeleteSupplementalTaxRegistrationRequestT &request) const
virtual Model::PutTaxRegistrationOutcome PutTaxRegistration(const Model::PutTaxRegistrationRequest &request) const
Model::ListTaxRegistrationsOutcomeCallable ListTaxRegistrationsCallable(const ListTaxRegistrationsRequestT &request={}) const
TaxSettingsEndpointProvider EndpointProviderType
TaxSettingsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< TaxSettingsEndpointProviderBase > endpointProvider=nullptr, const Aws::TaxSettings::TaxSettingsClientConfiguration &clientConfiguration=Aws::TaxSettings::TaxSettingsClientConfiguration())
TaxSettingsClient(const Aws::TaxSettings::TaxSettingsClientConfiguration &clientConfiguration=Aws::TaxSettings::TaxSettingsClientConfiguration(), std::shared_ptr< TaxSettingsEndpointProviderBase > endpointProvider=nullptr)
Aws::Client::AWSJsonClient BASECLASS
Model::ListSupplementalTaxRegistrationsOutcomeCallable ListSupplementalTaxRegistrationsCallable(const ListSupplementalTaxRegistrationsRequestT &request={}) const
void PutTaxRegistrationAsync(const PutTaxRegistrationRequestT &request, const PutTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TaxSettingsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetTaxRegistrationDocumentOutcomeCallable GetTaxRegistrationDocumentCallable(const GetTaxRegistrationDocumentRequestT &request) const
virtual Model::ListSupplementalTaxRegistrationsOutcome ListSupplementalTaxRegistrations(const Model::ListSupplementalTaxRegistrationsRequest &request={}) const
static const char * GetServiceName()
void PutSupplementalTaxRegistrationAsync(const PutSupplementalTaxRegistrationRequestT &request, const PutSupplementalTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TaxSettingsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< TaxSettingsEndpointProviderBase > endpointProvider=nullptr, const Aws::TaxSettings::TaxSettingsClientConfiguration &clientConfiguration=Aws::TaxSettings::TaxSettingsClientConfiguration())
Model::GetTaxRegistrationOutcomeCallable GetTaxRegistrationCallable(const GetTaxRegistrationRequestT &request={}) const
void BatchDeleteTaxRegistrationAsync(const BatchDeleteTaxRegistrationRequestT &request, const BatchDeleteTaxRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< GetTaxRegistrationDocumentOutcome > GetTaxRegistrationDocumentOutcomeCallable
std::future< PutSupplementalTaxRegistrationOutcome > PutSupplementalTaxRegistrationOutcomeCallable
std::future< BatchDeleteTaxRegistrationOutcome > BatchDeleteTaxRegistrationOutcomeCallable
std::future< ListTaxRegistrationsOutcome > ListTaxRegistrationsOutcomeCallable
std::future< BatchPutTaxRegistrationOutcome > BatchPutTaxRegistrationOutcomeCallable
std::future< PutTaxRegistrationOutcome > PutTaxRegistrationOutcomeCallable
std::future< GetTaxRegistrationOutcome > GetTaxRegistrationOutcomeCallable
std::future< DeleteTaxRegistrationOutcome > DeleteTaxRegistrationOutcomeCallable
std::future< ListSupplementalTaxRegistrationsOutcome > ListSupplementalTaxRegistrationsOutcomeCallable
std::future< DeleteSupplementalTaxRegistrationOutcome > DeleteSupplementalTaxRegistrationOutcomeCallable
std::function< void(const TaxSettingsClient *, const Model::ListSupplementalTaxRegistrationsRequest &, const Model::ListSupplementalTaxRegistrationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSupplementalTaxRegistrationsResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::GetTaxRegistrationRequest &, const Model::GetTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::DeleteTaxRegistrationRequest &, const Model::DeleteTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::PutSupplementalTaxRegistrationRequest &, const Model::PutSupplementalTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutSupplementalTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::PutTaxRegistrationRequest &, const Model::PutTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::BatchDeleteTaxRegistrationRequest &, const Model::BatchDeleteTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchDeleteTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::DeleteSupplementalTaxRegistrationRequest &, const Model::DeleteSupplementalTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSupplementalTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::GetTaxRegistrationDocumentRequest &, const Model::GetTaxRegistrationDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTaxRegistrationDocumentResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::BatchPutTaxRegistrationRequest &, const Model::BatchPutTaxRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchPutTaxRegistrationResponseReceivedHandler
std::function< void(const TaxSettingsClient *, const Model::ListTaxRegistrationsRequest &, const Model::ListTaxRegistrationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTaxRegistrationsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String