AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
VerifyCardValidationDataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
9#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
10#include <aws/payment-cryptography-data/model/CardVerificationAttributes.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PaymentCryptographyData {
16namespace Model {
17
21 public:
22 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyCardValidationDataRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "VerifyCardValidationData"; }
29
30 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
38 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
39 template <typename KeyIdentifierT = Aws::String>
40 void SetKeyIdentifier(KeyIdentifierT&& value) {
41 m_keyIdentifierHasBeenSet = true;
42 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
43 }
44 template <typename KeyIdentifierT = Aws::String>
46 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
57 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
58 template <typename PrimaryAccountNumberT = Aws::String>
59 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
60 m_primaryAccountNumberHasBeenSet = true;
61 m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value);
62 }
63 template <typename PrimaryAccountNumberT = Aws::String>
65 SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value));
66 return *this;
67 }
69
71
75 inline const CardVerificationAttributes& GetVerificationAttributes() const { return m_verificationAttributes; }
76 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
77 template <typename VerificationAttributesT = CardVerificationAttributes>
78 void SetVerificationAttributes(VerificationAttributesT&& value) {
79 m_verificationAttributesHasBeenSet = true;
80 m_verificationAttributes = std::forward<VerificationAttributesT>(value);
81 }
82 template <typename VerificationAttributesT = CardVerificationAttributes>
84 SetVerificationAttributes(std::forward<VerificationAttributesT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetValidationData() const { return m_validationData; }
95 inline bool ValidationDataHasBeenSet() const { return m_validationDataHasBeenSet; }
96 template <typename ValidationDataT = Aws::String>
97 void SetValidationData(ValidationDataT&& value) {
98 m_validationDataHasBeenSet = true;
99 m_validationData = std::forward<ValidationDataT>(value);
100 }
101 template <typename ValidationDataT = Aws::String>
103 SetValidationData(std::forward<ValidationDataT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_keyIdentifier;
109
110 Aws::String m_primaryAccountNumber;
111
112 CardVerificationAttributes m_verificationAttributes;
113
114 Aws::String m_validationData;
115 bool m_keyIdentifierHasBeenSet = false;
116 bool m_primaryAccountNumberHasBeenSet = false;
117 bool m_verificationAttributesHasBeenSet = false;
118 bool m_validationDataHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace PaymentCryptographyData
123} // namespace Aws
VerifyCardValidationDataRequest & WithVerificationAttributes(VerificationAttributesT &&value)
VerifyCardValidationDataRequest & WithValidationData(ValidationDataT &&value)
VerifyCardValidationDataRequest & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
VerifyCardValidationDataRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyCardValidationDataRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String