AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PaymentCryptographyDataClient.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_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/payment-cryptography-data/PaymentCryptographyDataServiceClientModel.h>
13
14namespace Aws
15{
16namespace PaymentCryptographyData
17{
32 class AWS_PAYMENTCRYPTOGRAPHYDATA_API PaymentCryptographyDataClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<PaymentCryptographyDataClient>
33 {
34 public:
36 static const char* GetServiceName();
37 static const char* GetAllocationTag();
38
41
47 std::shared_ptr<PaymentCryptographyDataEndpointProviderBase> endpointProvider = nullptr);
48
54 std::shared_ptr<PaymentCryptographyDataEndpointProviderBase> endpointProvider = nullptr,
56
61 PaymentCryptographyDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
62 std::shared_ptr<PaymentCryptographyDataEndpointProviderBase> endpointProvider = nullptr,
64
65
66 /* Legacy constructors due deprecation */
72
78 const Aws::Client::ClientConfiguration& clientConfiguration);
79
84 PaymentCryptographyDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
85 const Aws::Client::ClientConfiguration& clientConfiguration);
86
87 /* End of legacy constructors due deprecation */
89
140
144 template<typename DecryptDataRequestT = Model::DecryptDataRequest>
145 Model::DecryptDataOutcomeCallable DecryptDataCallable(const DecryptDataRequestT& request) const
146 {
147 return SubmitCallable(&PaymentCryptographyDataClient::DecryptData, request);
148 }
149
153 template<typename DecryptDataRequestT = Model::DecryptDataRequest>
154 void DecryptDataAsync(const DecryptDataRequestT& request, const DecryptDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
155 {
156 return SubmitAsync(&PaymentCryptographyDataClient::DecryptData, request, handler, context);
157 }
158
216
220 template<typename EncryptDataRequestT = Model::EncryptDataRequest>
221 Model::EncryptDataOutcomeCallable EncryptDataCallable(const EncryptDataRequestT& request) const
222 {
223 return SubmitCallable(&PaymentCryptographyDataClient::EncryptData, request);
224 }
225
229 template<typename EncryptDataRequestT = Model::EncryptDataRequest>
230 void EncryptDataAsync(const EncryptDataRequestT& request, const EncryptDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
231 {
232 return SubmitAsync(&PaymentCryptographyDataClient::EncryptData, request, handler, context);
233 }
234
267
271 template<typename GenerateCardValidationDataRequestT = Model::GenerateCardValidationDataRequest>
272 Model::GenerateCardValidationDataOutcomeCallable GenerateCardValidationDataCallable(const GenerateCardValidationDataRequestT& request) const
273 {
274 return SubmitCallable(&PaymentCryptographyDataClient::GenerateCardValidationData, request);
275 }
276
280 template<typename GenerateCardValidationDataRequestT = Model::GenerateCardValidationDataRequest>
281 void GenerateCardValidationDataAsync(const GenerateCardValidationDataRequestT& request, const GenerateCardValidationDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
282 {
283 return SubmitAsync(&PaymentCryptographyDataClient::GenerateCardValidationData, request, handler, context);
284 }
285
313
317 template<typename GenerateMacRequestT = Model::GenerateMacRequest>
318 Model::GenerateMacOutcomeCallable GenerateMacCallable(const GenerateMacRequestT& request) const
319 {
320 return SubmitCallable(&PaymentCryptographyDataClient::GenerateMac, request);
321 }
322
326 template<typename GenerateMacRequestT = Model::GenerateMacRequest>
327 void GenerateMacAsync(const GenerateMacRequestT& request, const GenerateMacResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
328 {
329 return SubmitAsync(&PaymentCryptographyDataClient::GenerateMac, request, handler, context);
330 }
331
362
366 template<typename GenerateMacEmvPinChangeRequestT = Model::GenerateMacEmvPinChangeRequest>
367 Model::GenerateMacEmvPinChangeOutcomeCallable GenerateMacEmvPinChangeCallable(const GenerateMacEmvPinChangeRequestT& request) const
368 {
369 return SubmitCallable(&PaymentCryptographyDataClient::GenerateMacEmvPinChange, request);
370 }
371
375 template<typename GenerateMacEmvPinChangeRequestT = Model::GenerateMacEmvPinChangeRequest>
376 void GenerateMacEmvPinChangeAsync(const GenerateMacEmvPinChangeRequestT& request, const GenerateMacEmvPinChangeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
377 {
378 return SubmitAsync(&PaymentCryptographyDataClient::GenerateMacEmvPinChange, request, handler, context);
379 }
380
414
418 template<typename GeneratePinDataRequestT = Model::GeneratePinDataRequest>
419 Model::GeneratePinDataOutcomeCallable GeneratePinDataCallable(const GeneratePinDataRequestT& request) const
420 {
421 return SubmitCallable(&PaymentCryptographyDataClient::GeneratePinData, request);
422 }
423
427 template<typename GeneratePinDataRequestT = Model::GeneratePinDataRequest>
428 void GeneratePinDataAsync(const GeneratePinDataRequestT& request, const GeneratePinDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
429 {
430 return SubmitAsync(&PaymentCryptographyDataClient::GeneratePinData, request, handler, context);
431 }
432
475
479 template<typename ReEncryptDataRequestT = Model::ReEncryptDataRequest>
480 Model::ReEncryptDataOutcomeCallable ReEncryptDataCallable(const ReEncryptDataRequestT& request) const
481 {
482 return SubmitCallable(&PaymentCryptographyDataClient::ReEncryptData, request);
483 }
484
488 template<typename ReEncryptDataRequestT = Model::ReEncryptDataRequest>
489 void ReEncryptDataAsync(const ReEncryptDataRequestT& request, const ReEncryptDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
490 {
491 return SubmitAsync(&PaymentCryptographyDataClient::ReEncryptData, request, handler, context);
492 }
493
545
549 template<typename TranslatePinDataRequestT = Model::TranslatePinDataRequest>
550 Model::TranslatePinDataOutcomeCallable TranslatePinDataCallable(const TranslatePinDataRequestT& request) const
551 {
552 return SubmitCallable(&PaymentCryptographyDataClient::TranslatePinData, request);
553 }
554
558 template<typename TranslatePinDataRequestT = Model::TranslatePinDataRequest>
559 void TranslatePinDataAsync(const TranslatePinDataRequestT& request, const TranslatePinDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
560 {
561 return SubmitAsync(&PaymentCryptographyDataClient::TranslatePinData, request, handler, context);
562 }
563
595
599 template<typename VerifyAuthRequestCryptogramRequestT = Model::VerifyAuthRequestCryptogramRequest>
600 Model::VerifyAuthRequestCryptogramOutcomeCallable VerifyAuthRequestCryptogramCallable(const VerifyAuthRequestCryptogramRequestT& request) const
601 {
602 return SubmitCallable(&PaymentCryptographyDataClient::VerifyAuthRequestCryptogram, request);
603 }
604
608 template<typename VerifyAuthRequestCryptogramRequestT = Model::VerifyAuthRequestCryptogramRequest>
609 void VerifyAuthRequestCryptogramAsync(const VerifyAuthRequestCryptogramRequestT& request, const VerifyAuthRequestCryptogramResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
610 {
611 return SubmitAsync(&PaymentCryptographyDataClient::VerifyAuthRequestCryptogram, request, handler, context);
612 }
613
642
646 template<typename VerifyCardValidationDataRequestT = Model::VerifyCardValidationDataRequest>
647 Model::VerifyCardValidationDataOutcomeCallable VerifyCardValidationDataCallable(const VerifyCardValidationDataRequestT& request) const
648 {
649 return SubmitCallable(&PaymentCryptographyDataClient::VerifyCardValidationData, request);
650 }
651
655 template<typename VerifyCardValidationDataRequestT = Model::VerifyCardValidationDataRequest>
656 void VerifyCardValidationDataAsync(const VerifyCardValidationDataRequestT& request, const VerifyCardValidationDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
657 {
658 return SubmitAsync(&PaymentCryptographyDataClient::VerifyCardValidationData, request, handler, context);
659 }
660
681
685 template<typename VerifyMacRequestT = Model::VerifyMacRequest>
686 Model::VerifyMacOutcomeCallable VerifyMacCallable(const VerifyMacRequestT& request) const
687 {
688 return SubmitCallable(&PaymentCryptographyDataClient::VerifyMac, request);
689 }
690
694 template<typename VerifyMacRequestT = Model::VerifyMacRequest>
695 void VerifyMacAsync(const VerifyMacRequestT& request, const VerifyMacResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
696 {
697 return SubmitAsync(&PaymentCryptographyDataClient::VerifyMac, request, handler, context);
698 }
699
724
728 template<typename VerifyPinDataRequestT = Model::VerifyPinDataRequest>
729 Model::VerifyPinDataOutcomeCallable VerifyPinDataCallable(const VerifyPinDataRequestT& request) const
730 {
731 return SubmitCallable(&PaymentCryptographyDataClient::VerifyPinData, request);
732 }
733
737 template<typename VerifyPinDataRequestT = Model::VerifyPinDataRequest>
738 void VerifyPinDataAsync(const VerifyPinDataRequestT& request, const VerifyPinDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
739 {
740 return SubmitAsync(&PaymentCryptographyDataClient::VerifyPinData, request, handler, context);
741 }
742
743
744 void OverrideEndpoint(const Aws::String& endpoint);
745 std::shared_ptr<PaymentCryptographyDataEndpointProviderBase>& accessEndpointProvider();
746 private:
748 void init(const PaymentCryptographyDataClientConfiguration& clientConfiguration);
749
750 PaymentCryptographyDataClientConfiguration m_clientConfiguration;
751 std::shared_ptr<PaymentCryptographyDataEndpointProviderBase> m_endpointProvider;
752 };
753
754} // namespace PaymentCryptographyData
755} // namespace Aws
Model::DecryptDataOutcomeCallable DecryptDataCallable(const DecryptDataRequestT &request) const
void GenerateMacEmvPinChangeAsync(const GenerateMacEmvPinChangeRequestT &request, const GenerateMacEmvPinChangeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GenerateCardValidationDataOutcome GenerateCardValidationData(const Model::GenerateCardValidationDataRequest &request) const
PaymentCryptographyDataClient(const Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration &clientConfiguration=Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration(), std::shared_ptr< PaymentCryptographyDataEndpointProviderBase > endpointProvider=nullptr)
Model::ReEncryptDataOutcomeCallable ReEncryptDataCallable(const ReEncryptDataRequestT &request) const
Model::VerifyCardValidationDataOutcomeCallable VerifyCardValidationDataCallable(const VerifyCardValidationDataRequestT &request) const
void VerifyAuthRequestCryptogramAsync(const VerifyAuthRequestCryptogramRequestT &request, const VerifyAuthRequestCryptogramResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::VerifyAuthRequestCryptogramOutcomeCallable VerifyAuthRequestCryptogramCallable(const VerifyAuthRequestCryptogramRequestT &request) const
virtual Model::GenerateMacEmvPinChangeOutcome GenerateMacEmvPinChange(const Model::GenerateMacEmvPinChangeRequest &request) const
virtual Model::ReEncryptDataOutcome ReEncryptData(const Model::ReEncryptDataRequest &request) const
virtual Model::GenerateMacOutcome GenerateMac(const Model::GenerateMacRequest &request) const
virtual Model::GeneratePinDataOutcome GeneratePinData(const Model::GeneratePinDataRequest &request) const
virtual Model::EncryptDataOutcome EncryptData(const Model::EncryptDataRequest &request) const
void VerifyCardValidationDataAsync(const VerifyCardValidationDataRequestT &request, const VerifyCardValidationDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void VerifyMacAsync(const VerifyMacRequestT &request, const VerifyMacResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DecryptDataOutcome DecryptData(const Model::DecryptDataRequest &request) const
void GenerateCardValidationDataAsync(const GenerateCardValidationDataRequestT &request, const GenerateCardValidationDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GeneratePinDataOutcomeCallable GeneratePinDataCallable(const GeneratePinDataRequestT &request) const
void TranslatePinDataAsync(const TranslatePinDataRequestT &request, const TranslatePinDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
PaymentCryptographyDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::VerifyMacOutcome VerifyMac(const Model::VerifyMacRequest &request) const
void GenerateMacAsync(const GenerateMacRequestT &request, const GenerateMacResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::VerifyCardValidationDataOutcome VerifyCardValidationData(const Model::VerifyCardValidationDataRequest &request) const
void DecryptDataAsync(const DecryptDataRequestT &request, const DecryptDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
PaymentCryptographyDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< PaymentCryptographyDataEndpointProviderBase > endpointProvider=nullptr, const Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration &clientConfiguration=Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration())
Model::TranslatePinDataOutcomeCallable TranslatePinDataCallable(const TranslatePinDataRequestT &request) const
PaymentCryptographyDataClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< PaymentCryptographyDataEndpointProviderBase > endpointProvider=nullptr, const Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration &clientConfiguration=Aws::PaymentCryptographyData::PaymentCryptographyDataClientConfiguration())
void VerifyPinDataAsync(const VerifyPinDataRequestT &request, const VerifyPinDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::VerifyPinDataOutcomeCallable VerifyPinDataCallable(const VerifyPinDataRequestT &request) const
virtual Model::VerifyPinDataOutcome VerifyPinData(const Model::VerifyPinDataRequest &request) const
void GeneratePinDataAsync(const GeneratePinDataRequestT &request, const GeneratePinDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::EncryptDataOutcomeCallable EncryptDataCallable(const EncryptDataRequestT &request) const
PaymentCryptographyDataClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GenerateMacOutcomeCallable GenerateMacCallable(const GenerateMacRequestT &request) const
virtual Model::TranslatePinDataOutcome TranslatePinData(const Model::TranslatePinDataRequest &request) const
Model::GenerateMacEmvPinChangeOutcomeCallable GenerateMacEmvPinChangeCallable(const GenerateMacEmvPinChangeRequestT &request) const
virtual Model::VerifyAuthRequestCryptogramOutcome VerifyAuthRequestCryptogram(const Model::VerifyAuthRequestCryptogramRequest &request) const
PaymentCryptographyDataClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void EncryptDataAsync(const EncryptDataRequestT &request, const EncryptDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< PaymentCryptographyDataEndpointProviderBase > & accessEndpointProvider()
void ReEncryptDataAsync(const ReEncryptDataRequestT &request, const ReEncryptDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::VerifyMacOutcomeCallable VerifyMacCallable(const VerifyMacRequestT &request) const
Model::GenerateCardValidationDataOutcomeCallable GenerateCardValidationDataCallable(const GenerateCardValidationDataRequestT &request) const
std::future< GenerateMacEmvPinChangeOutcome > GenerateMacEmvPinChangeOutcomeCallable
std::future< TranslatePinDataOutcome > TranslatePinDataOutcomeCallable
std::future< ReEncryptDataOutcome > ReEncryptDataOutcomeCallable
std::future< GeneratePinDataOutcome > GeneratePinDataOutcomeCallable
std::future< VerifyCardValidationDataOutcome > VerifyCardValidationDataOutcomeCallable
std::future< VerifyPinDataOutcome > VerifyPinDataOutcomeCallable
std::future< VerifyAuthRequestCryptogramOutcome > VerifyAuthRequestCryptogramOutcomeCallable
std::future< GenerateCardValidationDataOutcome > GenerateCardValidationDataOutcomeCallable
std::function< void(const PaymentCryptographyDataClient *, const Model::ReEncryptDataRequest &, const Model::ReEncryptDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReEncryptDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::VerifyPinDataRequest &, const Model::VerifyPinDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > VerifyPinDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::TranslatePinDataRequest &, const Model::TranslatePinDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TranslatePinDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::VerifyMacRequest &, const Model::VerifyMacOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > VerifyMacResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::GeneratePinDataRequest &, const Model::GeneratePinDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GeneratePinDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::GenerateMacEmvPinChangeRequest &, const Model::GenerateMacEmvPinChangeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateMacEmvPinChangeResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::GenerateCardValidationDataRequest &, const Model::GenerateCardValidationDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateCardValidationDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::DecryptDataRequest &, const Model::DecryptDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DecryptDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::VerifyCardValidationDataRequest &, const Model::VerifyCardValidationDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > VerifyCardValidationDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::EncryptDataRequest &, const Model::EncryptDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EncryptDataResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::VerifyAuthRequestCryptogramRequest &, const Model::VerifyAuthRequestCryptogramOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > VerifyAuthRequestCryptogramResponseReceivedHandler
std::function< void(const PaymentCryptographyDataClient *, const Model::GenerateMacRequest &, const Model::GenerateMacOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateMacResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String