AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
VerifyAuthRequestCryptogramRequest.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/CryptogramAuthResponse.h>
11#include <aws/payment-cryptography-data/model/MajorKeyDerivationMode.h>
12#include <aws/payment-cryptography-data/model/SessionKeyDerivation.h>
13
14#include <utility>
15
16namespace Aws {
17namespace PaymentCryptographyData {
18namespace Model {
19
23 public:
24 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyAuthRequestCryptogramRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "VerifyAuthRequestCryptogram"; }
31
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
40 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
41 template <typename KeyIdentifierT = Aws::String>
42 void SetKeyIdentifier(KeyIdentifierT&& value) {
43 m_keyIdentifierHasBeenSet = true;
44 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
45 }
46 template <typename KeyIdentifierT = Aws::String>
48 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetTransactionData() const { return m_transactionData; }
60 inline bool TransactionDataHasBeenSet() const { return m_transactionDataHasBeenSet; }
61 template <typename TransactionDataT = Aws::String>
62 void SetTransactionData(TransactionDataT&& value) {
63 m_transactionDataHasBeenSet = true;
64 m_transactionData = std::forward<TransactionDataT>(value);
65 }
66 template <typename TransactionDataT = Aws::String>
68 SetTransactionData(std::forward<TransactionDataT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetAuthRequestCryptogram() const { return m_authRequestCryptogram; }
80 inline bool AuthRequestCryptogramHasBeenSet() const { return m_authRequestCryptogramHasBeenSet; }
81 template <typename AuthRequestCryptogramT = Aws::String>
82 void SetAuthRequestCryptogram(AuthRequestCryptogramT&& value) {
83 m_authRequestCryptogramHasBeenSet = true;
84 m_authRequestCryptogram = std::forward<AuthRequestCryptogramT>(value);
85 }
86 template <typename AuthRequestCryptogramT = Aws::String>
88 SetAuthRequestCryptogram(std::forward<AuthRequestCryptogramT>(value));
89 return *this;
90 }
92
94
100 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
101 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
103 m_majorKeyDerivationModeHasBeenSet = true;
104 m_majorKeyDerivationMode = value;
105 }
108 return *this;
109 }
111
113
119 inline const SessionKeyDerivation& GetSessionKeyDerivationAttributes() const { return m_sessionKeyDerivationAttributes; }
120 inline bool SessionKeyDerivationAttributesHasBeenSet() const { return m_sessionKeyDerivationAttributesHasBeenSet; }
121 template <typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
122 void SetSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT&& value) {
123 m_sessionKeyDerivationAttributesHasBeenSet = true;
124 m_sessionKeyDerivationAttributes = std::forward<SessionKeyDerivationAttributesT>(value);
125 }
126 template <typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
128 SetSessionKeyDerivationAttributes(std::forward<SessionKeyDerivationAttributesT>(value));
129 return *this;
130 }
132
134
139 inline const CryptogramAuthResponse& GetAuthResponseAttributes() const { return m_authResponseAttributes; }
140 inline bool AuthResponseAttributesHasBeenSet() const { return m_authResponseAttributesHasBeenSet; }
141 template <typename AuthResponseAttributesT = CryptogramAuthResponse>
142 void SetAuthResponseAttributes(AuthResponseAttributesT&& value) {
143 m_authResponseAttributesHasBeenSet = true;
144 m_authResponseAttributes = std::forward<AuthResponseAttributesT>(value);
145 }
146 template <typename AuthResponseAttributesT = CryptogramAuthResponse>
148 SetAuthResponseAttributes(std::forward<AuthResponseAttributesT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_keyIdentifier;
154
155 Aws::String m_transactionData;
156
157 Aws::String m_authRequestCryptogram;
158
160
161 SessionKeyDerivation m_sessionKeyDerivationAttributes;
162
163 CryptogramAuthResponse m_authResponseAttributes;
164 bool m_keyIdentifierHasBeenSet = false;
165 bool m_transactionDataHasBeenSet = false;
166 bool m_authRequestCryptogramHasBeenSet = false;
167 bool m_majorKeyDerivationModeHasBeenSet = false;
168 bool m_sessionKeyDerivationAttributesHasBeenSet = false;
169 bool m_authResponseAttributesHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace PaymentCryptographyData
174} // namespace Aws
VerifyAuthRequestCryptogramRequest & WithAuthRequestCryptogram(AuthRequestCryptogramT &&value)
VerifyAuthRequestCryptogramRequest & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyAuthRequestCryptogramRequest()=default
VerifyAuthRequestCryptogramRequest & WithTransactionData(TransactionDataT &&value)
VerifyAuthRequestCryptogramRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
VerifyAuthRequestCryptogramRequest & WithAuthResponseAttributes(AuthResponseAttributesT &&value)
VerifyAuthRequestCryptogramRequest & WithSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String