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/payments/PaymentsPaginationBase.h>
12#include <aws/payments/PaymentsServiceClientModel.h>
13#include <aws/payments/PaymentsWaiter.h>
14#include <aws/payments/Payments_EXPORTS.h>
50 PaymentsClient(
const Aws::Payments::PaymentsClientConfiguration& clientConfiguration = Aws::Payments::PaymentsClientConfiguration(),
51 std::shared_ptr<PaymentsEndpointProviderBase> endpointProvider =
nullptr);
58 const Aws::Payments::PaymentsClientConfiguration& clientConfiguration = Aws::Payments::PaymentsClientConfiguration());
64 PaymentsClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
65 std::shared_ptr<PaymentsEndpointProviderBase> endpointProvider =
nullptr,
66 const Aws::Payments::PaymentsClientConfiguration& clientConfiguration = Aws::Payments::PaymentsClientConfiguration());
85 PaymentsClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
111 template <
typename BatchGetFinancialRecordRequestT = Model::BatchGetFinancialRecordRequest>
113 return SubmitCallable(&PaymentsClient::BatchGetFinancialRecord, request);
120 template <
typename BatchGetFinancialRecordRequestT = Model::BatchGetFinancialRecordRequest>
123 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
124 return SubmitAsync(&PaymentsClient::BatchGetFinancialRecord, request, handler, context);
146 template <
typename GetAccountBalanceRequestT = Model::GetAccountBalanceRequest>
148 return SubmitCallable(&PaymentsClient::GetAccountBalance, request);
155 template <
typename GetAccountBalanceRequestT = Model::GetAccountBalanceRequest>
157 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
158 return SubmitAsync(&PaymentsClient::GetAccountBalance, request, handler, context);
184 template <
typename GetFinancialRecordRequestT = Model::GetFinancialRecordRequest>
186 return SubmitCallable(&PaymentsClient::GetFinancialRecord, request);
193 template <
typename GetFinancialRecordRequestT = Model::GetFinancialRecordRequest>
195 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
196 const GetFinancialRecordRequestT& request = {})
const {
197 return SubmitAsync(&PaymentsClient::GetFinancialRecord, request, handler, context);
217 template <
typename GetPaymentInstrumentRequestT = Model::GetPaymentInstrumentRequest>
219 return SubmitCallable(&PaymentsClient::GetPaymentInstrument, request);
226 template <
typename GetPaymentInstrumentRequestT = Model::GetPaymentInstrumentRequest>
228 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
229 return SubmitAsync(&PaymentsClient::GetPaymentInstrument, request, handler, context);
252 template <
typename ListFinancialRecordsRequestT = Model::ListFinancialRecordsRequest>
254 return SubmitCallable(&PaymentsClient::ListFinancialRecords, request);
261 template <
typename ListFinancialRecordsRequestT = Model::ListFinancialRecordsRequest>
263 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
264 return SubmitAsync(&PaymentsClient::ListFinancialRecords, request, handler, context);
284 template <
typename ListPaymentInstrumentsRequestT = Model::ListPaymentInstrumentsRequest>
286 return SubmitCallable(&PaymentsClient::ListPaymentInstruments, request);
293 template <
typename ListPaymentInstrumentsRequestT = Model::ListPaymentInstrumentsRequest>
295 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
296 const ListPaymentInstrumentsRequestT& request = {})
const {
297 return SubmitAsync(&PaymentsClient::ListPaymentInstruments, request, handler, context);
305 void init(
const PaymentsClientConfiguration& clientConfiguration);
311 PaymentsClientConfiguration m_clientConfiguration;
312 std::shared_ptr<PaymentsEndpointProviderBase> m_endpointProvider;
void GetFinancialRecordAsync(const GetFinancialRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetFinancialRecordRequestT &request={}) const
Aws::Client::AWSJsonClient BASECLASS
Model::GetFinancialRecordOutcomeCallable GetFinancialRecordCallable(const GetFinancialRecordRequestT &request={}) const
static const char * GetServiceName()
Model::ListFinancialRecordsOutcomeCallable ListFinancialRecordsCallable(const ListFinancialRecordsRequestT &request) const
PaymentsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< PaymentsEndpointProviderBase > endpointProvider=nullptr, const Aws::Payments::PaymentsClientConfiguration &clientConfiguration=Aws::Payments::PaymentsClientConfiguration())
PaymentsClient(const Aws::Payments::PaymentsClientConfiguration &clientConfiguration=Aws::Payments::PaymentsClientConfiguration(), std::shared_ptr< PaymentsEndpointProviderBase > endpointProvider=nullptr)
virtual ~PaymentsClient()
Model::GetPaymentInstrumentOutcomeCallable GetPaymentInstrumentCallable(const GetPaymentInstrumentRequestT &request) const
void GetPaymentInstrumentAsync(const GetPaymentInstrumentRequestT &request, const GetPaymentInstrumentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
virtual std::shared_ptr< PaymentsEndpointProviderBase > & accessEndpointProvider()
virtual void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::BatchGetFinancialRecordOutcome BatchGetFinancialRecord(const Model::BatchGetFinancialRecordRequest &request) const
PaymentsEndpointProvider EndpointProviderType
virtual Model::GetFinancialRecordOutcome GetFinancialRecord(const Model::GetFinancialRecordRequest &request={}) const
PaymentsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void ListFinancialRecordsAsync(const ListFinancialRecordsRequestT &request, const ListFinancialRecordsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
PaymentsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetPaymentInstrumentOutcome GetPaymentInstrument(const Model::GetPaymentInstrumentRequest &request) const
Model::BatchGetFinancialRecordOutcomeCallable BatchGetFinancialRecordCallable(const BatchGetFinancialRecordRequestT &request) const
PaymentsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< PaymentsEndpointProviderBase > endpointProvider=nullptr, const Aws::Payments::PaymentsClientConfiguration &clientConfiguration=Aws::Payments::PaymentsClientConfiguration())
PaymentsClientConfiguration ClientConfigurationType
Model::GetAccountBalanceOutcomeCallable GetAccountBalanceCallable(const GetAccountBalanceRequestT &request) const
Model::ListPaymentInstrumentsOutcomeCallable ListPaymentInstrumentsCallable(const ListPaymentInstrumentsRequestT &request={}) const
void GetAccountBalanceAsync(const GetAccountBalanceRequestT &request, const GetAccountBalanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void BatchGetFinancialRecordAsync(const BatchGetFinancialRecordRequestT &request, const BatchGetFinancialRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListPaymentInstrumentsAsync(const ListPaymentInstrumentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListPaymentInstrumentsRequestT &request={}) const
virtual Model::ListFinancialRecordsOutcome ListFinancialRecords(const Model::ListFinancialRecordsRequest &request) const
PaymentsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListPaymentInstrumentsOutcome ListPaymentInstruments(const Model::ListPaymentInstrumentsRequest &request={}) const
virtual Model::GetAccountBalanceOutcome GetAccountBalance(const Model::GetAccountBalanceRequest &request) const
std::future< ListFinancialRecordsOutcome > ListFinancialRecordsOutcomeCallable
std::future< BatchGetFinancialRecordOutcome > BatchGetFinancialRecordOutcomeCallable
std::future< GetAccountBalanceOutcome > GetAccountBalanceOutcomeCallable
std::future< GetPaymentInstrumentOutcome > GetPaymentInstrumentOutcomeCallable
std::future< ListPaymentInstrumentsOutcome > ListPaymentInstrumentsOutcomeCallable
std::future< GetFinancialRecordOutcome > GetFinancialRecordOutcomeCallable
std::function< void(const PaymentsClient *, const Model::GetPaymentInstrumentRequest &, const Model::GetPaymentInstrumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetPaymentInstrumentResponseReceivedHandler
std::function< void(const PaymentsClient *, const Model::GetFinancialRecordRequest &, const Model::GetFinancialRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetFinancialRecordResponseReceivedHandler
std::function< void(const PaymentsClient *, const Model::ListPaymentInstrumentsRequest &, const Model::ListPaymentInstrumentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListPaymentInstrumentsResponseReceivedHandler
std::function< void(const PaymentsClient *, const Model::BatchGetFinancialRecordRequest &, const Model::BatchGetFinancialRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> BatchGetFinancialRecordResponseReceivedHandler
std::function< void(const PaymentsClient *, const Model::GetAccountBalanceRequest &, const Model::GetAccountBalanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetAccountBalanceResponseReceivedHandler
std::function< void(const PaymentsClient *, const Model::ListFinancialRecordsRequest &, const Model::ListFinancialRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListFinancialRecordsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String