7#include <aws/managedblockchain-query/ManagedBlockchainQuery_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/managedblockchain-query/ManagedBlockchainQueryServiceClientModel.h>
16namespace ManagedBlockchainQuery
44 std::shared_ptr<ManagedBlockchainQueryEndpointProviderBase> endpointProvider =
nullptr);
51 std::shared_ptr<ManagedBlockchainQueryEndpointProviderBase> endpointProvider =
nullptr,
59 std::shared_ptr<ManagedBlockchainQueryEndpointProviderBase> endpointProvider =
nullptr,
100 template<
typename BatchGetTokenBalanceRequestT = Model::BatchGetTokenBalanceRequest>
103 return SubmitCallable(&ManagedBlockchainQueryClient::BatchGetTokenBalance, request);
109 template<
typename BatchGetTokenBalanceRequestT = Model::BatchGetTokenBalanceRequest>
112 return SubmitAsync(&ManagedBlockchainQueryClient::BatchGetTokenBalance, request, handler, context);
130 template<
typename GetAssetContractRequestT = Model::GetAssetContractRequest>
133 return SubmitCallable(&ManagedBlockchainQueryClient::GetAssetContract, request);
139 template<
typename GetAssetContractRequestT = Model::GetAssetContractRequest>
142 return SubmitAsync(&ManagedBlockchainQueryClient::GetAssetContract, request, handler, context);
158 template<
typename GetTokenBalanceRequestT = Model::GetTokenBalanceRequest>
161 return SubmitCallable(&ManagedBlockchainQueryClient::GetTokenBalance, request);
167 template<
typename GetTokenBalanceRequestT = Model::GetTokenBalanceRequest>
170 return SubmitAsync(&ManagedBlockchainQueryClient::GetTokenBalance, request, handler, context);
187 template<
typename GetTransactionRequestT = Model::GetTransactionRequest>
190 return SubmitCallable(&ManagedBlockchainQueryClient::GetTransaction, request);
196 template<
typename GetTransactionRequestT = Model::GetTransactionRequest>
199 return SubmitAsync(&ManagedBlockchainQueryClient::GetTransaction, request, handler, context);
214 template<
typename ListAssetContractsRequestT = Model::ListAssetContractsRequest>
217 return SubmitCallable(&ManagedBlockchainQueryClient::ListAssetContracts, request);
223 template<
typename ListAssetContractsRequestT = Model::ListAssetContractsRequest>
226 return SubmitAsync(&ManagedBlockchainQueryClient::ListAssetContracts, request, handler, context);
241 template<
typename ListFilteredTransactionEventsRequestT = Model::ListFilteredTransactionEventsRequest>
244 return SubmitCallable(&ManagedBlockchainQueryClient::ListFilteredTransactionEvents, request);
250 template<
typename ListFilteredTransactionEventsRequestT = Model::ListFilteredTransactionEventsRequest>
253 return SubmitAsync(&ManagedBlockchainQueryClient::ListFilteredTransactionEvents, request, handler, context);
272 template<
typename ListTokenBalancesRequestT = Model::ListTokenBalancesRequest>
275 return SubmitCallable(&ManagedBlockchainQueryClient::ListTokenBalances, request);
281 template<
typename ListTokenBalancesRequestT = Model::ListTokenBalancesRequest>
284 return SubmitAsync(&ManagedBlockchainQueryClient::ListTokenBalances, request, handler, context);
301 template<
typename ListTransactionEventsRequestT = Model::ListTransactionEventsRequest>
304 return SubmitCallable(&ManagedBlockchainQueryClient::ListTransactionEvents, request);
310 template<
typename ListTransactionEventsRequestT = Model::ListTransactionEventsRequest>
313 return SubmitAsync(&ManagedBlockchainQueryClient::ListTransactionEvents, request, handler, context);
327 template<
typename ListTransactionsRequestT = Model::ListTransactionsRequest>
330 return SubmitCallable(&ManagedBlockchainQueryClient::ListTransactions, request);
336 template<
typename ListTransactionsRequestT = Model::ListTransactionsRequest>
339 return SubmitAsync(&ManagedBlockchainQueryClient::ListTransactions, request, handler, context);
350 std::shared_ptr<ManagedBlockchainQueryEndpointProviderBase> m_endpointProvider;
ManagedBlockchainQueryClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListTokenBalancesOutcome ListTokenBalances(const Model::ListTokenBalancesRequest &request) const
void ListTokenBalancesAsync(const ListTokenBalancesRequestT &request, const ListTokenBalancesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTransactionEventsOutcomeCallable ListTransactionEventsCallable(const ListTransactionEventsRequestT &request) const
virtual Model::GetTransactionOutcome GetTransaction(const Model::GetTransactionRequest &request) const
Model::GetTransactionOutcomeCallable GetTransactionCallable(const GetTransactionRequestT &request) const
virtual Model::GetAssetContractOutcome GetAssetContract(const Model::GetAssetContractRequest &request) const
void ListFilteredTransactionEventsAsync(const ListFilteredTransactionEventsRequestT &request, const ListFilteredTransactionEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListAssetContractsOutcomeCallable ListAssetContractsCallable(const ListAssetContractsRequestT &request) const
ManagedBlockchainQueryClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ManagedBlockchainQueryEndpointProviderBase > endpointProvider=nullptr, const Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration &clientConfiguration=Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration())
virtual Model::ListFilteredTransactionEventsOutcome ListFilteredTransactionEvents(const Model::ListFilteredTransactionEventsRequest &request) const
Model::ListFilteredTransactionEventsOutcomeCallable ListFilteredTransactionEventsCallable(const ListFilteredTransactionEventsRequestT &request) const
std::shared_ptr< ManagedBlockchainQueryEndpointProviderBase > & accessEndpointProvider()
ManagedBlockchainQueryClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListTokenBalancesOutcomeCallable ListTokenBalancesCallable(const ListTokenBalancesRequestT &request) const
void GetAssetContractAsync(const GetAssetContractRequestT &request, const GetAssetContractResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetTokenBalanceAsync(const GetTokenBalanceRequestT &request, const GetTokenBalanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetTokenBalanceOutcomeCallable GetTokenBalanceCallable(const GetTokenBalanceRequestT &request) const
static const char * GetServiceName()
ManagedBlockchainQueryClientConfiguration ClientConfigurationType
ManagedBlockchainQueryClient(const Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration &clientConfiguration=Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration(), std::shared_ptr< ManagedBlockchainQueryEndpointProviderBase > endpointProvider=nullptr)
virtual Model::ListAssetContractsOutcome ListAssetContracts(const Model::ListAssetContractsRequest &request) const
virtual ~ManagedBlockchainQueryClient()
Aws::Client::AWSJsonClient BASECLASS
void ListAssetContractsAsync(const ListAssetContractsRequestT &request, const ListAssetContractsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTransactionsOutcomeCallable ListTransactionsCallable(const ListTransactionsRequestT &request) const
ManagedBlockchainQueryEndpointProvider EndpointProviderType
void ListTransactionsAsync(const ListTransactionsRequestT &request, const ListTransactionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ManagedBlockchainQueryClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ManagedBlockchainQueryEndpointProviderBase > endpointProvider=nullptr, const Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration &clientConfiguration=Aws::ManagedBlockchainQuery::ManagedBlockchainQueryClientConfiguration())
virtual Model::BatchGetTokenBalanceOutcome BatchGetTokenBalance(const Model::BatchGetTokenBalanceRequest &request={}) const
ManagedBlockchainQueryClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetAssetContractOutcomeCallable GetAssetContractCallable(const GetAssetContractRequestT &request) const
void ListTransactionEventsAsync(const ListTransactionEventsRequestT &request, const ListTransactionEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListTransactionEventsOutcome ListTransactionEvents(const Model::ListTransactionEventsRequest &request) const
static const char * GetAllocationTag()
void OverrideEndpoint(const Aws::String &endpoint)
Model::BatchGetTokenBalanceOutcomeCallable BatchGetTokenBalanceCallable(const BatchGetTokenBalanceRequestT &request={}) const
void BatchGetTokenBalanceAsync(const BatchGetTokenBalanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const BatchGetTokenBalanceRequestT &request={}) const
virtual Model::ListTransactionsOutcome ListTransactions(const Model::ListTransactionsRequest &request) const
virtual Model::GetTokenBalanceOutcome GetTokenBalance(const Model::GetTokenBalanceRequest &request) const
void GetTransactionAsync(const GetTransactionRequestT &request, const GetTransactionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< ListTransactionsOutcome > ListTransactionsOutcomeCallable
std::future< BatchGetTokenBalanceOutcome > BatchGetTokenBalanceOutcomeCallable
std::future< ListTokenBalancesOutcome > ListTokenBalancesOutcomeCallable
std::future< ListFilteredTransactionEventsOutcome > ListFilteredTransactionEventsOutcomeCallable
std::future< ListAssetContractsOutcome > ListAssetContractsOutcomeCallable
std::future< GetTransactionOutcome > GetTransactionOutcomeCallable
std::future< ListTransactionEventsOutcome > ListTransactionEventsOutcomeCallable
std::future< GetAssetContractOutcome > GetAssetContractOutcomeCallable
std::future< GetTokenBalanceOutcome > GetTokenBalanceOutcomeCallable
std::function< void(const ManagedBlockchainQueryClient *, const Model::ListAssetContractsRequest &, const Model::ListAssetContractsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAssetContractsResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::GetAssetContractRequest &, const Model::GetAssetContractOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAssetContractResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::ListTokenBalancesRequest &, const Model::ListTokenBalancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTokenBalancesResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::BatchGetTokenBalanceRequest &, const Model::BatchGetTokenBalanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchGetTokenBalanceResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::ListTransactionEventsRequest &, const Model::ListTransactionEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTransactionEventsResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::ListFilteredTransactionEventsRequest &, const Model::ListFilteredTransactionEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFilteredTransactionEventsResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::GetTransactionRequest &, const Model::GetTransactionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTransactionResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::GetTokenBalanceRequest &, const Model::GetTokenBalanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTokenBalanceResponseReceivedHandler
std::function< void(const ManagedBlockchainQueryClient *, const Model::ListTransactionsRequest &, const Model::ListTransactionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTransactionsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String