AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VerifyPinDataRequest.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography-data/model/PinVerificationAttributes.h>
11#include <aws/payment-cryptography-data/model/PinBlockFormatForPinData.h>
12#include <aws/payment-cryptography-data/model/DukptAttributes.h>
13#include <aws/payment-cryptography-data/model/WrappedKey.h>
14#include <utility>
15
16namespace Aws
17{
18namespace PaymentCryptographyData
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "VerifyPinData"; }
35
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetVerificationKeyIdentifier() const { return m_verificationKeyIdentifier; }
44 inline bool VerificationKeyIdentifierHasBeenSet() const { return m_verificationKeyIdentifierHasBeenSet; }
45 template<typename VerificationKeyIdentifierT = Aws::String>
46 void SetVerificationKeyIdentifier(VerificationKeyIdentifierT&& value) { m_verificationKeyIdentifierHasBeenSet = true; m_verificationKeyIdentifier = std::forward<VerificationKeyIdentifierT>(value); }
47 template<typename VerificationKeyIdentifierT = Aws::String>
48 VerifyPinDataRequest& WithVerificationKeyIdentifier(VerificationKeyIdentifierT&& value) { SetVerificationKeyIdentifier(std::forward<VerificationKeyIdentifierT>(value)); return *this;}
50
52
56 inline const Aws::String& GetEncryptionKeyIdentifier() const { return m_encryptionKeyIdentifier; }
57 inline bool EncryptionKeyIdentifierHasBeenSet() const { return m_encryptionKeyIdentifierHasBeenSet; }
58 template<typename EncryptionKeyIdentifierT = Aws::String>
59 void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) { m_encryptionKeyIdentifierHasBeenSet = true; m_encryptionKeyIdentifier = std::forward<EncryptionKeyIdentifierT>(value); }
60 template<typename EncryptionKeyIdentifierT = Aws::String>
61 VerifyPinDataRequest& WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) { SetEncryptionKeyIdentifier(std::forward<EncryptionKeyIdentifierT>(value)); return *this;}
63
65
68 inline const PinVerificationAttributes& GetVerificationAttributes() const { return m_verificationAttributes; }
69 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
70 template<typename VerificationAttributesT = PinVerificationAttributes>
71 void SetVerificationAttributes(VerificationAttributesT&& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = std::forward<VerificationAttributesT>(value); }
72 template<typename VerificationAttributesT = PinVerificationAttributes>
73 VerifyPinDataRequest& WithVerificationAttributes(VerificationAttributesT&& value) { SetVerificationAttributes(std::forward<VerificationAttributesT>(value)); return *this;}
75
77
81 inline const Aws::String& GetEncryptedPinBlock() const { return m_encryptedPinBlock; }
82 inline bool EncryptedPinBlockHasBeenSet() const { return m_encryptedPinBlockHasBeenSet; }
83 template<typename EncryptedPinBlockT = Aws::String>
84 void SetEncryptedPinBlock(EncryptedPinBlockT&& value) { m_encryptedPinBlockHasBeenSet = true; m_encryptedPinBlock = std::forward<EncryptedPinBlockT>(value); }
85 template<typename EncryptedPinBlockT = Aws::String>
86 VerifyPinDataRequest& WithEncryptedPinBlock(EncryptedPinBlockT&& value) { SetEncryptedPinBlock(std::forward<EncryptedPinBlockT>(value)); return *this;}
88
90
94 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
95 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
96 template<typename PrimaryAccountNumberT = Aws::String>
97 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value); }
98 template<typename PrimaryAccountNumberT = Aws::String>
99 VerifyPinDataRequest& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
101
103
113 inline PinBlockFormatForPinData GetPinBlockFormat() const { return m_pinBlockFormat; }
114 inline bool PinBlockFormatHasBeenSet() const { return m_pinBlockFormatHasBeenSet; }
115 inline void SetPinBlockFormat(PinBlockFormatForPinData value) { m_pinBlockFormatHasBeenSet = true; m_pinBlockFormat = value; }
118
120
123 inline int GetPinDataLength() const { return m_pinDataLength; }
124 inline bool PinDataLengthHasBeenSet() const { return m_pinDataLengthHasBeenSet; }
125 inline void SetPinDataLength(int value) { m_pinDataLengthHasBeenSet = true; m_pinDataLength = value; }
126 inline VerifyPinDataRequest& WithPinDataLength(int value) { SetPinDataLength(value); return *this;}
128
130
133 inline const DukptAttributes& GetDukptAttributes() const { return m_dukptAttributes; }
134 inline bool DukptAttributesHasBeenSet() const { return m_dukptAttributesHasBeenSet; }
135 template<typename DukptAttributesT = DukptAttributes>
136 void SetDukptAttributes(DukptAttributesT&& value) { m_dukptAttributesHasBeenSet = true; m_dukptAttributes = std::forward<DukptAttributesT>(value); }
137 template<typename DukptAttributesT = DukptAttributes>
138 VerifyPinDataRequest& WithDukptAttributes(DukptAttributesT&& value) { SetDukptAttributes(std::forward<DukptAttributesT>(value)); return *this;}
140
142
143 inline const WrappedKey& GetEncryptionWrappedKey() const { return m_encryptionWrappedKey; }
144 inline bool EncryptionWrappedKeyHasBeenSet() const { return m_encryptionWrappedKeyHasBeenSet; }
145 template<typename EncryptionWrappedKeyT = WrappedKey>
146 void SetEncryptionWrappedKey(EncryptionWrappedKeyT&& value) { m_encryptionWrappedKeyHasBeenSet = true; m_encryptionWrappedKey = std::forward<EncryptionWrappedKeyT>(value); }
147 template<typename EncryptionWrappedKeyT = WrappedKey>
148 VerifyPinDataRequest& WithEncryptionWrappedKey(EncryptionWrappedKeyT&& value) { SetEncryptionWrappedKey(std::forward<EncryptionWrappedKeyT>(value)); return *this;}
150 private:
151
152 Aws::String m_verificationKeyIdentifier;
153 bool m_verificationKeyIdentifierHasBeenSet = false;
154
155 Aws::String m_encryptionKeyIdentifier;
156 bool m_encryptionKeyIdentifierHasBeenSet = false;
157
158 PinVerificationAttributes m_verificationAttributes;
159 bool m_verificationAttributesHasBeenSet = false;
160
161 Aws::String m_encryptedPinBlock;
162 bool m_encryptedPinBlockHasBeenSet = false;
163
164 Aws::String m_primaryAccountNumber;
165 bool m_primaryAccountNumberHasBeenSet = false;
166
168 bool m_pinBlockFormatHasBeenSet = false;
169
170 int m_pinDataLength{0};
171 bool m_pinDataLengthHasBeenSet = false;
172
173 DukptAttributes m_dukptAttributes;
174 bool m_dukptAttributesHasBeenSet = false;
175
176 WrappedKey m_encryptionWrappedKey;
177 bool m_encryptionWrappedKeyHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace PaymentCryptographyData
182} // 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