7#include <aws/meteringmarketplace/MarketplaceMetering_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/meteringmarketplace/MarketplaceMeteringServiceClientModel.h>
16namespace MarketplaceMetering
70 std::shared_ptr<MarketplaceMeteringEndpointProviderBase> endpointProvider =
nullptr);
77 std::shared_ptr<MarketplaceMeteringEndpointProviderBase> endpointProvider =
nullptr,
85 std::shared_ptr<MarketplaceMeteringEndpointProviderBase> endpointProvider =
nullptr,
143 template<
typename BatchMeterUsageRequestT = Model::BatchMeterUsageRequest>
146 return SubmitCallable(&MarketplaceMeteringClient::BatchMeterUsage, request);
152 template<
typename BatchMeterUsageRequestT = Model::BatchMeterUsageRequest>
155 return SubmitAsync(&MarketplaceMeteringClient::BatchMeterUsage, request, handler, context);
176 template<
typename MeterUsageRequestT = Model::MeterUsageRequest>
179 return SubmitCallable(&MarketplaceMeteringClient::MeterUsage, request);
185 template<
typename MeterUsageRequestT = Model::MeterUsageRequest>
188 return SubmitAsync(&MarketplaceMeteringClient::MeterUsage, request, handler, context);
232 template<
typename RegisterUsageRequestT = Model::RegisterUsageRequest>
235 return SubmitCallable(&MarketplaceMeteringClient::RegisterUsage, request);
241 template<
typename RegisterUsageRequestT = Model::RegisterUsageRequest>
244 return SubmitAsync(&MarketplaceMeteringClient::RegisterUsage, request, handler, context);
267 template<
typename ResolveCustomerRequestT = Model::ResolveCustomerRequest>
270 return SubmitCallable(&MarketplaceMeteringClient::ResolveCustomer, request);
276 template<
typename ResolveCustomerRequestT = Model::ResolveCustomerRequest>
279 return SubmitAsync(&MarketplaceMeteringClient::ResolveCustomer, request, handler, context);
290 std::shared_ptr<MarketplaceMeteringEndpointProviderBase> m_endpointProvider;
MarketplaceMeteringClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< MarketplaceMeteringEndpointProviderBase > endpointProvider=nullptr, const Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration &clientConfiguration=Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration())
MarketplaceMeteringClientConfiguration ClientConfigurationType
MarketplaceMeteringEndpointProvider EndpointProviderType
MarketplaceMeteringClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< MarketplaceMeteringEndpointProviderBase > endpointProvider=nullptr, const Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration &clientConfiguration=Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration())
virtual Model::MeterUsageOutcome MeterUsage(const Model::MeterUsageRequest &request) const
void RegisterUsageAsync(const RegisterUsageRequestT &request, const RegisterUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ResolveCustomerAsync(const ResolveCustomerRequestT &request, const ResolveCustomerResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
void OverrideEndpoint(const Aws::String &endpoint)
Model::ResolveCustomerOutcomeCallable ResolveCustomerCallable(const ResolveCustomerRequestT &request) const
static const char * GetServiceName()
MarketplaceMeteringClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::BatchMeterUsageOutcome BatchMeterUsage(const Model::BatchMeterUsageRequest &request) const
void BatchMeterUsageAsync(const BatchMeterUsageRequestT &request, const BatchMeterUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ResolveCustomerOutcome ResolveCustomer(const Model::ResolveCustomerRequest &request) const
void MeterUsageAsync(const MeterUsageRequestT &request, const MeterUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RegisterUsageOutcome RegisterUsage(const Model::RegisterUsageRequest &request) const
MarketplaceMeteringClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::BatchMeterUsageOutcomeCallable BatchMeterUsageCallable(const BatchMeterUsageRequestT &request) const
std::shared_ptr< MarketplaceMeteringEndpointProviderBase > & accessEndpointProvider()
MarketplaceMeteringClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
MarketplaceMeteringClient(const Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration &clientConfiguration=Aws::MarketplaceMetering::MarketplaceMeteringClientConfiguration(), std::shared_ptr< MarketplaceMeteringEndpointProviderBase > endpointProvider=nullptr)
Model::RegisterUsageOutcomeCallable RegisterUsageCallable(const RegisterUsageRequestT &request) const
Aws::Client::AWSJsonClient BASECLASS
virtual ~MarketplaceMeteringClient()
Model::MeterUsageOutcomeCallable MeterUsageCallable(const MeterUsageRequestT &request) const
std::future< ResolveCustomerOutcome > ResolveCustomerOutcomeCallable
std::future< MeterUsageOutcome > MeterUsageOutcomeCallable
std::future< BatchMeterUsageOutcome > BatchMeterUsageOutcomeCallable
std::future< RegisterUsageOutcome > RegisterUsageOutcomeCallable
std::function< void(const MarketplaceMeteringClient *, const Model::ResolveCustomerRequest &, const Model::ResolveCustomerOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ResolveCustomerResponseReceivedHandler
std::function< void(const MarketplaceMeteringClient *, const Model::BatchMeterUsageRequest &, const Model::BatchMeterUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchMeterUsageResponseReceivedHandler
std::function< void(const MarketplaceMeteringClient *, const Model::MeterUsageRequest &, const Model::MeterUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > MeterUsageResponseReceivedHandler
std::function< void(const MarketplaceMeteringClient *, const Model::RegisterUsageRequest &, const Model::RegisterUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterUsageResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String