AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
TranslatePinDataRequest.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/As2805PekDerivationAttributes.h>
11#include <aws/payment-cryptography-data/model/DukptDerivationAttributes.h>
12#include <aws/payment-cryptography-data/model/TranslationIsoFormats.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 TranslatePinDataRequest() = 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 "TranslatePinData"; }
32
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
34
36
42 inline const Aws::String& GetIncomingKeyIdentifier() const { return m_incomingKeyIdentifier; }
43 inline bool IncomingKeyIdentifierHasBeenSet() const { return m_incomingKeyIdentifierHasBeenSet; }
44 template <typename IncomingKeyIdentifierT = Aws::String>
45 void SetIncomingKeyIdentifier(IncomingKeyIdentifierT&& value) {
46 m_incomingKeyIdentifierHasBeenSet = true;
47 m_incomingKeyIdentifier = std::forward<IncomingKeyIdentifierT>(value);
48 }
49 template <typename IncomingKeyIdentifierT = Aws::String>
50 TranslatePinDataRequest& WithIncomingKeyIdentifier(IncomingKeyIdentifierT&& value) {
51 SetIncomingKeyIdentifier(std::forward<IncomingKeyIdentifierT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetOutgoingKeyIdentifier() const { return m_outgoingKeyIdentifier; }
63 inline bool OutgoingKeyIdentifierHasBeenSet() const { return m_outgoingKeyIdentifierHasBeenSet; }
64 template <typename OutgoingKeyIdentifierT = Aws::String>
65 void SetOutgoingKeyIdentifier(OutgoingKeyIdentifierT&& value) {
66 m_outgoingKeyIdentifierHasBeenSet = true;
67 m_outgoingKeyIdentifier = std::forward<OutgoingKeyIdentifierT>(value);
68 }
69 template <typename OutgoingKeyIdentifierT = Aws::String>
70 TranslatePinDataRequest& WithOutgoingKeyIdentifier(OutgoingKeyIdentifierT&& value) {
71 SetOutgoingKeyIdentifier(std::forward<OutgoingKeyIdentifierT>(value));
72 return *this;
73 }
75
77
81 inline const TranslationIsoFormats& GetIncomingTranslationAttributes() const { return m_incomingTranslationAttributes; }
82 inline bool IncomingTranslationAttributesHasBeenSet() const { return m_incomingTranslationAttributesHasBeenSet; }
83 template <typename IncomingTranslationAttributesT = TranslationIsoFormats>
84 void SetIncomingTranslationAttributes(IncomingTranslationAttributesT&& value) {
85 m_incomingTranslationAttributesHasBeenSet = true;
86 m_incomingTranslationAttributes = std::forward<IncomingTranslationAttributesT>(value);
87 }
88 template <typename IncomingTranslationAttributesT = TranslationIsoFormats>
89 TranslatePinDataRequest& WithIncomingTranslationAttributes(IncomingTranslationAttributesT&& value) {
90 SetIncomingTranslationAttributes(std::forward<IncomingTranslationAttributesT>(value));
91 return *this;
92 }
94
96
100 inline const TranslationIsoFormats& GetOutgoingTranslationAttributes() const { return m_outgoingTranslationAttributes; }
101 inline bool OutgoingTranslationAttributesHasBeenSet() const { return m_outgoingTranslationAttributesHasBeenSet; }
102 template <typename OutgoingTranslationAttributesT = TranslationIsoFormats>
103 void SetOutgoingTranslationAttributes(OutgoingTranslationAttributesT&& value) {
104 m_outgoingTranslationAttributesHasBeenSet = true;
105 m_outgoingTranslationAttributes = std::forward<OutgoingTranslationAttributesT>(value);
106 }
107 template <typename OutgoingTranslationAttributesT = TranslationIsoFormats>
108 TranslatePinDataRequest& WithOutgoingTranslationAttributes(OutgoingTranslationAttributesT&& value) {
109 SetOutgoingTranslationAttributes(std::forward<OutgoingTranslationAttributesT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetEncryptedPinBlock() const { return m_encryptedPinBlock; }
120 inline bool EncryptedPinBlockHasBeenSet() const { return m_encryptedPinBlockHasBeenSet; }
121 template <typename EncryptedPinBlockT = Aws::String>
122 void SetEncryptedPinBlock(EncryptedPinBlockT&& value) {
123 m_encryptedPinBlockHasBeenSet = true;
124 m_encryptedPinBlock = std::forward<EncryptedPinBlockT>(value);
125 }
126 template <typename EncryptedPinBlockT = Aws::String>
127 TranslatePinDataRequest& WithEncryptedPinBlock(EncryptedPinBlockT&& value) {
128 SetEncryptedPinBlock(std::forward<EncryptedPinBlockT>(value));
129 return *this;
130 }
132
134
138 inline const DukptDerivationAttributes& GetIncomingDukptAttributes() const { return m_incomingDukptAttributes; }
139 inline bool IncomingDukptAttributesHasBeenSet() const { return m_incomingDukptAttributesHasBeenSet; }
140 template <typename IncomingDukptAttributesT = DukptDerivationAttributes>
141 void SetIncomingDukptAttributes(IncomingDukptAttributesT&& value) {
142 m_incomingDukptAttributesHasBeenSet = true;
143 m_incomingDukptAttributes = std::forward<IncomingDukptAttributesT>(value);
144 }
145 template <typename IncomingDukptAttributesT = DukptDerivationAttributes>
146 TranslatePinDataRequest& WithIncomingDukptAttributes(IncomingDukptAttributesT&& value) {
147 SetIncomingDukptAttributes(std::forward<IncomingDukptAttributesT>(value));
148 return *this;
149 }
151
153
157 inline const DukptDerivationAttributes& GetOutgoingDukptAttributes() const { return m_outgoingDukptAttributes; }
158 inline bool OutgoingDukptAttributesHasBeenSet() const { return m_outgoingDukptAttributesHasBeenSet; }
159 template <typename OutgoingDukptAttributesT = DukptDerivationAttributes>
160 void SetOutgoingDukptAttributes(OutgoingDukptAttributesT&& value) {
161 m_outgoingDukptAttributesHasBeenSet = true;
162 m_outgoingDukptAttributes = std::forward<OutgoingDukptAttributesT>(value);
163 }
164 template <typename OutgoingDukptAttributesT = DukptDerivationAttributes>
165 TranslatePinDataRequest& WithOutgoingDukptAttributes(OutgoingDukptAttributesT&& value) {
166 SetOutgoingDukptAttributes(std::forward<OutgoingDukptAttributesT>(value));
167 return *this;
168 }
170
172
176 inline const WrappedKey& GetIncomingWrappedKey() const { return m_incomingWrappedKey; }
177 inline bool IncomingWrappedKeyHasBeenSet() const { return m_incomingWrappedKeyHasBeenSet; }
178 template <typename IncomingWrappedKeyT = WrappedKey>
179 void SetIncomingWrappedKey(IncomingWrappedKeyT&& value) {
180 m_incomingWrappedKeyHasBeenSet = true;
181 m_incomingWrappedKey = std::forward<IncomingWrappedKeyT>(value);
182 }
183 template <typename IncomingWrappedKeyT = WrappedKey>
184 TranslatePinDataRequest& WithIncomingWrappedKey(IncomingWrappedKeyT&& value) {
185 SetIncomingWrappedKey(std::forward<IncomingWrappedKeyT>(value));
186 return *this;
187 }
189
191
195 inline const WrappedKey& GetOutgoingWrappedKey() const { return m_outgoingWrappedKey; }
196 inline bool OutgoingWrappedKeyHasBeenSet() const { return m_outgoingWrappedKeyHasBeenSet; }
197 template <typename OutgoingWrappedKeyT = WrappedKey>
198 void SetOutgoingWrappedKey(OutgoingWrappedKeyT&& value) {
199 m_outgoingWrappedKeyHasBeenSet = true;
200 m_outgoingWrappedKey = std::forward<OutgoingWrappedKeyT>(value);
201 }
202 template <typename OutgoingWrappedKeyT = WrappedKey>
203 TranslatePinDataRequest& WithOutgoingWrappedKey(OutgoingWrappedKeyT&& value) {
204 SetOutgoingWrappedKey(std::forward<OutgoingWrappedKeyT>(value));
205 return *this;
206 }
208
210
214 inline const As2805PekDerivationAttributes& GetIncomingAs2805Attributes() const { return m_incomingAs2805Attributes; }
215 inline bool IncomingAs2805AttributesHasBeenSet() const { return m_incomingAs2805AttributesHasBeenSet; }
216 template <typename IncomingAs2805AttributesT = As2805PekDerivationAttributes>
217 void SetIncomingAs2805Attributes(IncomingAs2805AttributesT&& value) {
218 m_incomingAs2805AttributesHasBeenSet = true;
219 m_incomingAs2805Attributes = std::forward<IncomingAs2805AttributesT>(value);
220 }
221 template <typename IncomingAs2805AttributesT = As2805PekDerivationAttributes>
222 TranslatePinDataRequest& WithIncomingAs2805Attributes(IncomingAs2805AttributesT&& value) {
223 SetIncomingAs2805Attributes(std::forward<IncomingAs2805AttributesT>(value));
224 return *this;
225 }
227 private:
228 Aws::String m_incomingKeyIdentifier;
229
230 Aws::String m_outgoingKeyIdentifier;
231
232 TranslationIsoFormats m_incomingTranslationAttributes;
233
234 TranslationIsoFormats m_outgoingTranslationAttributes;
235
236 Aws::String m_encryptedPinBlock;
237
238 DukptDerivationAttributes m_incomingDukptAttributes;
239
240 DukptDerivationAttributes m_outgoingDukptAttributes;
241
242 WrappedKey m_incomingWrappedKey;
243
244 WrappedKey m_outgoingWrappedKey;
245
246 As2805PekDerivationAttributes m_incomingAs2805Attributes;
247 bool m_incomingKeyIdentifierHasBeenSet = false;
248 bool m_outgoingKeyIdentifierHasBeenSet = false;
249 bool m_incomingTranslationAttributesHasBeenSet = false;
250 bool m_outgoingTranslationAttributesHasBeenSet = false;
251 bool m_encryptedPinBlockHasBeenSet = false;
252 bool m_incomingDukptAttributesHasBeenSet = false;
253 bool m_outgoingDukptAttributesHasBeenSet = false;
254 bool m_incomingWrappedKeyHasBeenSet = false;
255 bool m_outgoingWrappedKeyHasBeenSet = false;
256 bool m_incomingAs2805AttributesHasBeenSet = false;
257};
258
259} // namespace Model
260} // namespace PaymentCryptographyData
261} // namespace Aws
TranslatePinDataRequest & WithIncomingTranslationAttributes(IncomingTranslationAttributesT &&value)
TranslatePinDataRequest & WithOutgoingDukptAttributes(OutgoingDukptAttributesT &&value)
void SetOutgoingTranslationAttributes(OutgoingTranslationAttributesT &&value)
const DukptDerivationAttributes & GetIncomingDukptAttributes() const
TranslatePinDataRequest & WithOutgoingTranslationAttributes(OutgoingTranslationAttributesT &&value)
TranslatePinDataRequest & WithIncomingAs2805Attributes(IncomingAs2805AttributesT &&value)
const DukptDerivationAttributes & GetOutgoingDukptAttributes() const
const As2805PekDerivationAttributes & GetIncomingAs2805Attributes() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslatePinDataRequest()=default
TranslatePinDataRequest & WithIncomingKeyIdentifier(IncomingKeyIdentifierT &&value)
TranslatePinDataRequest & WithIncomingDukptAttributes(IncomingDukptAttributesT &&value)
TranslatePinDataRequest & WithOutgoingKeyIdentifier(OutgoingKeyIdentifierT &&value)
TranslatePinDataRequest & WithEncryptedPinBlock(EncryptedPinBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
TranslatePinDataRequest & WithOutgoingWrappedKey(OutgoingWrappedKeyT &&value)
TranslatePinDataRequest & WithIncomingWrappedKey(IncomingWrappedKeyT &&value)
void SetIncomingTranslationAttributes(IncomingTranslationAttributesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String