AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VerifyAuthRequestCryptogramRequest.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/MajorKeyDerivationMode.h>
11#include <aws/payment-cryptography-data/model/SessionKeyDerivation.h>
12#include <aws/payment-cryptography-data/model/CryptogramAuthResponse.h>
13#include <utility>
14
15namespace Aws
16{
17namespace PaymentCryptographyData
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyAuthRequestCryptogramRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "VerifyAuthRequestCryptogram"; }
34
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
44 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
45 template<typename KeyIdentifierT = Aws::String>
46 void SetKeyIdentifier(KeyIdentifierT&& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = std::forward<KeyIdentifierT>(value); }
47 template<typename KeyIdentifierT = Aws::String>
48 VerifyAuthRequestCryptogramRequest& WithKeyIdentifier(KeyIdentifierT&& value) { SetKeyIdentifier(std::forward<KeyIdentifierT>(value)); return *this;}
50
52
57 inline const Aws::String& GetTransactionData() const { return m_transactionData; }
58 inline bool TransactionDataHasBeenSet() const { return m_transactionDataHasBeenSet; }
59 template<typename TransactionDataT = Aws::String>
60 void SetTransactionData(TransactionDataT&& value) { m_transactionDataHasBeenSet = true; m_transactionData = std::forward<TransactionDataT>(value); }
61 template<typename TransactionDataT = Aws::String>
62 VerifyAuthRequestCryptogramRequest& WithTransactionData(TransactionDataT&& value) { SetTransactionData(std::forward<TransactionDataT>(value)); return *this;}
64
66
71 inline const Aws::String& GetAuthRequestCryptogram() const { return m_authRequestCryptogram; }
72 inline bool AuthRequestCryptogramHasBeenSet() const { return m_authRequestCryptogramHasBeenSet; }
73 template<typename AuthRequestCryptogramT = Aws::String>
74 void SetAuthRequestCryptogram(AuthRequestCryptogramT&& value) { m_authRequestCryptogramHasBeenSet = true; m_authRequestCryptogram = std::forward<AuthRequestCryptogramT>(value); }
75 template<typename AuthRequestCryptogramT = Aws::String>
76 VerifyAuthRequestCryptogramRequest& WithAuthRequestCryptogram(AuthRequestCryptogramT&& value) { SetAuthRequestCryptogram(std::forward<AuthRequestCryptogramT>(value)); return *this;}
78
80
86 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
87 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
88 inline void SetMajorKeyDerivationMode(MajorKeyDerivationMode value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
91
93
99 inline const SessionKeyDerivation& GetSessionKeyDerivationAttributes() const { return m_sessionKeyDerivationAttributes; }
100 inline bool SessionKeyDerivationAttributesHasBeenSet() const { return m_sessionKeyDerivationAttributesHasBeenSet; }
101 template<typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
102 void SetSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT&& value) { m_sessionKeyDerivationAttributesHasBeenSet = true; m_sessionKeyDerivationAttributes = std::forward<SessionKeyDerivationAttributesT>(value); }
103 template<typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
104 VerifyAuthRequestCryptogramRequest& WithSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT&& value) { SetSessionKeyDerivationAttributes(std::forward<SessionKeyDerivationAttributesT>(value)); return *this;}
106
108
113 inline const CryptogramAuthResponse& GetAuthResponseAttributes() const { return m_authResponseAttributes; }
114 inline bool AuthResponseAttributesHasBeenSet() const { return m_authResponseAttributesHasBeenSet; }
115 template<typename AuthResponseAttributesT = CryptogramAuthResponse>
116 void SetAuthResponseAttributes(AuthResponseAttributesT&& value) { m_authResponseAttributesHasBeenSet = true; m_authResponseAttributes = std::forward<AuthResponseAttributesT>(value); }
117 template<typename AuthResponseAttributesT = CryptogramAuthResponse>
118 VerifyAuthRequestCryptogramRequest& WithAuthResponseAttributes(AuthResponseAttributesT&& value) { SetAuthResponseAttributes(std::forward<AuthResponseAttributesT>(value)); return *this;}
120 private:
121
122 Aws::String m_keyIdentifier;
123 bool m_keyIdentifierHasBeenSet = false;
124
125 Aws::String m_transactionData;
126 bool m_transactionDataHasBeenSet = false;
127
128 Aws::String m_authRequestCryptogram;
129 bool m_authRequestCryptogramHasBeenSet = false;
130
132 bool m_majorKeyDerivationModeHasBeenSet = false;
133
134 SessionKeyDerivation m_sessionKeyDerivationAttributes;
135 bool m_sessionKeyDerivationAttributesHasBeenSet = false;
136
137 CryptogramAuthResponse m_authResponseAttributes;
138 bool m_authResponseAttributesHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace PaymentCryptographyData
143} // 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