AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
GenerateAuthRequestCryptogramRequest.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/MajorKeyDerivationMode.h>
11#include <aws/payment-cryptography-data/model/SessionKeyDerivation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PaymentCryptographyData {
17namespace Model {
18
22 public:
23 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateAuthRequestCryptogramRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GenerateAuthRequestCryptogram"; }
30
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
39 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
40 template <typename KeyIdentifierT = Aws::String>
41 void SetKeyIdentifier(KeyIdentifierT&& value) {
42 m_keyIdentifierHasBeenSet = true;
43 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
44 }
45 template <typename KeyIdentifierT = Aws::String>
47 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetTransactionData() const { return m_transactionData; }
59 inline bool TransactionDataHasBeenSet() const { return m_transactionDataHasBeenSet; }
60 template <typename TransactionDataT = Aws::String>
61 void SetTransactionData(TransactionDataT&& value) {
62 m_transactionDataHasBeenSet = true;
63 m_transactionData = std::forward<TransactionDataT>(value);
64 }
65 template <typename TransactionDataT = Aws::String>
67 SetTransactionData(std::forward<TransactionDataT>(value));
68 return *this;
69 }
71
73
77 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
78 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
80 m_majorKeyDerivationModeHasBeenSet = true;
81 m_majorKeyDerivationMode = value;
82 }
85 return *this;
86 }
88
90
94 inline const SessionKeyDerivation& GetSessionKeyDerivationAttributes() const { return m_sessionKeyDerivationAttributes; }
95 inline bool SessionKeyDerivationAttributesHasBeenSet() const { return m_sessionKeyDerivationAttributesHasBeenSet; }
96 template <typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
97 void SetSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT&& value) {
98 m_sessionKeyDerivationAttributesHasBeenSet = true;
99 m_sessionKeyDerivationAttributes = std::forward<SessionKeyDerivationAttributesT>(value);
100 }
101 template <typename SessionKeyDerivationAttributesT = SessionKeyDerivation>
103 SetSessionKeyDerivationAttributes(std::forward<SessionKeyDerivationAttributesT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_keyIdentifier;
109
110 Aws::String m_transactionData;
111
113
114 SessionKeyDerivation m_sessionKeyDerivationAttributes;
115 bool m_keyIdentifierHasBeenSet = false;
116 bool m_transactionDataHasBeenSet = false;
117 bool m_majorKeyDerivationModeHasBeenSet = false;
118 bool m_sessionKeyDerivationAttributesHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace PaymentCryptographyData
123} // namespace Aws
GenerateAuthRequestCryptogramRequest & WithSessionKeyDerivationAttributes(SessionKeyDerivationAttributesT &&value)
GenerateAuthRequestCryptogramRequest & WithTransactionData(TransactionDataT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GenerateAuthRequestCryptogramRequest & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateAuthRequestCryptogramRequest()=default
GenerateAuthRequestCryptogramRequest & WithKeyIdentifier(KeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String