AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VerifyPinDataRequest.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/DukptAttributes.h>
11#include <aws/payment-cryptography-data/model/PinBlockFormatForPinData.h>
12#include <aws/payment-cryptography-data/model/PinVerificationAttributes.h>
13#include <aws/payment-cryptography-data/model/WrappedKey.h>
14
15#include <utility>
16
17namespace Aws {
18namespace PaymentCryptographyData {
19namespace Model {
20
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "VerifyPinData"; }
32
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetVerificationKeyIdentifier() const { return m_verificationKeyIdentifier; }
40 inline bool VerificationKeyIdentifierHasBeenSet() const { return m_verificationKeyIdentifierHasBeenSet; }
41 template <typename VerificationKeyIdentifierT = Aws::String>
42 void SetVerificationKeyIdentifier(VerificationKeyIdentifierT&& value) {
43 m_verificationKeyIdentifierHasBeenSet = true;
44 m_verificationKeyIdentifier = std::forward<VerificationKeyIdentifierT>(value);
45 }
46 template <typename VerificationKeyIdentifierT = Aws::String>
47 VerifyPinDataRequest& WithVerificationKeyIdentifier(VerificationKeyIdentifierT&& value) {
48 SetVerificationKeyIdentifier(std::forward<VerificationKeyIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetEncryptionKeyIdentifier() const { return m_encryptionKeyIdentifier; }
59 inline bool EncryptionKeyIdentifierHasBeenSet() const { return m_encryptionKeyIdentifierHasBeenSet; }
60 template <typename EncryptionKeyIdentifierT = Aws::String>
61 void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) {
62 m_encryptionKeyIdentifierHasBeenSet = true;
63 m_encryptionKeyIdentifier = std::forward<EncryptionKeyIdentifierT>(value);
64 }
65 template <typename EncryptionKeyIdentifierT = Aws::String>
66 VerifyPinDataRequest& WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) {
67 SetEncryptionKeyIdentifier(std::forward<EncryptionKeyIdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const PinVerificationAttributes& GetVerificationAttributes() const { return m_verificationAttributes; }
77 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
78 template <typename VerificationAttributesT = PinVerificationAttributes>
79 void SetVerificationAttributes(VerificationAttributesT&& value) {
80 m_verificationAttributesHasBeenSet = true;
81 m_verificationAttributes = std::forward<VerificationAttributesT>(value);
82 }
83 template <typename VerificationAttributesT = PinVerificationAttributes>
84 VerifyPinDataRequest& WithVerificationAttributes(VerificationAttributesT&& value) {
85 SetVerificationAttributes(std::forward<VerificationAttributesT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetEncryptedPinBlock() const { return m_encryptedPinBlock; }
96 inline bool EncryptedPinBlockHasBeenSet() const { return m_encryptedPinBlockHasBeenSet; }
97 template <typename EncryptedPinBlockT = Aws::String>
98 void SetEncryptedPinBlock(EncryptedPinBlockT&& value) {
99 m_encryptedPinBlockHasBeenSet = true;
100 m_encryptedPinBlock = std::forward<EncryptedPinBlockT>(value);
101 }
102 template <typename EncryptedPinBlockT = Aws::String>
103 VerifyPinDataRequest& WithEncryptedPinBlock(EncryptedPinBlockT&& value) {
104 SetEncryptedPinBlock(std::forward<EncryptedPinBlockT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
115 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
116 template <typename PrimaryAccountNumberT = Aws::String>
117 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
118 m_primaryAccountNumberHasBeenSet = true;
119 m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value);
120 }
121 template <typename PrimaryAccountNumberT = Aws::String>
122 VerifyPinDataRequest& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
123 SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value));
124 return *this;
125 }
127
129
139 inline PinBlockFormatForPinData GetPinBlockFormat() const { return m_pinBlockFormat; }
140 inline bool PinBlockFormatHasBeenSet() const { return m_pinBlockFormatHasBeenSet; }
142 m_pinBlockFormatHasBeenSet = true;
143 m_pinBlockFormat = value;
144 }
146 SetPinBlockFormat(value);
147 return *this;
148 }
150
152
155 inline int GetPinDataLength() const { return m_pinDataLength; }
156 inline bool PinDataLengthHasBeenSet() const { return m_pinDataLengthHasBeenSet; }
157 inline void SetPinDataLength(int value) {
158 m_pinDataLengthHasBeenSet = true;
159 m_pinDataLength = value;
160 }
162 SetPinDataLength(value);
163 return *this;
164 }
166
168
171 inline const DukptAttributes& GetDukptAttributes() const { return m_dukptAttributes; }
172 inline bool DukptAttributesHasBeenSet() const { return m_dukptAttributesHasBeenSet; }
173 template <typename DukptAttributesT = DukptAttributes>
174 void SetDukptAttributes(DukptAttributesT&& value) {
175 m_dukptAttributesHasBeenSet = true;
176 m_dukptAttributes = std::forward<DukptAttributesT>(value);
177 }
178 template <typename DukptAttributesT = DukptAttributes>
179 VerifyPinDataRequest& WithDukptAttributes(DukptAttributesT&& value) {
180 SetDukptAttributes(std::forward<DukptAttributesT>(value));
181 return *this;
182 }
184
186
187 inline const WrappedKey& GetEncryptionWrappedKey() const { return m_encryptionWrappedKey; }
188 inline bool EncryptionWrappedKeyHasBeenSet() const { return m_encryptionWrappedKeyHasBeenSet; }
189 template <typename EncryptionWrappedKeyT = WrappedKey>
190 void SetEncryptionWrappedKey(EncryptionWrappedKeyT&& value) {
191 m_encryptionWrappedKeyHasBeenSet = true;
192 m_encryptionWrappedKey = std::forward<EncryptionWrappedKeyT>(value);
193 }
194 template <typename EncryptionWrappedKeyT = WrappedKey>
195 VerifyPinDataRequest& WithEncryptionWrappedKey(EncryptionWrappedKeyT&& value) {
196 SetEncryptionWrappedKey(std::forward<EncryptionWrappedKeyT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_verificationKeyIdentifier;
202
203 Aws::String m_encryptionKeyIdentifier;
204
205 PinVerificationAttributes m_verificationAttributes;
206
207 Aws::String m_encryptedPinBlock;
208
209 Aws::String m_primaryAccountNumber;
210
212
213 int m_pinDataLength{0};
214
215 DukptAttributes m_dukptAttributes;
216
217 WrappedKey m_encryptionWrappedKey;
218 bool m_verificationKeyIdentifierHasBeenSet = false;
219 bool m_encryptionKeyIdentifierHasBeenSet = false;
220 bool m_verificationAttributesHasBeenSet = false;
221 bool m_encryptedPinBlockHasBeenSet = false;
222 bool m_primaryAccountNumberHasBeenSet = false;
223 bool m_pinBlockFormatHasBeenSet = false;
224 bool m_pinDataLengthHasBeenSet = false;
225 bool m_dukptAttributesHasBeenSet = false;
226 bool m_encryptionWrappedKeyHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace PaymentCryptographyData
231} // namespace Aws
void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
VerifyPinDataRequest & WithPinBlockFormat(PinBlockFormatForPinData value)
VerifyPinDataRequest & WithVerificationAttributes(VerificationAttributesT &&value)
VerifyPinDataRequest & WithDukptAttributes(DukptAttributesT &&value)
VerifyPinDataRequest & WithEncryptedPinBlock(EncryptedPinBlockT &&value)
VerifyPinDataRequest & WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
void SetVerificationAttributes(VerificationAttributesT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
VerifyPinDataRequest & WithEncryptionWrappedKey(EncryptionWrappedKeyT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataRequest()=default
const PinVerificationAttributes & GetVerificationAttributes() const
VerifyPinDataRequest & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
VerifyPinDataRequest & WithVerificationKeyIdentifier(VerificationKeyIdentifierT &&value)
void SetVerificationKeyIdentifier(VerificationKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String