AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AmexAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9#include <aws/payment-cryptography-data/model/CurrentPinAttributes.h>
10#include <aws/payment-cryptography-data/model/MajorKeyDerivationMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptographyData {
22namespace Model {
23
31 public:
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes() = default;
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
43 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
45 m_majorKeyDerivationModeHasBeenSet = true;
46 m_majorKeyDerivationMode = value;
47 }
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
59 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
60 template <typename PrimaryAccountNumberT = Aws::String>
61 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
62 m_primaryAccountNumberHasBeenSet = true;
63 m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value);
64 }
65 template <typename PrimaryAccountNumberT = Aws::String>
66 AmexAttributes& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
67 SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
79 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
80 template <typename PanSequenceNumberT = Aws::String>
81 void SetPanSequenceNumber(PanSequenceNumberT&& value) {
82 m_panSequenceNumberHasBeenSet = true;
83 m_panSequenceNumber = std::forward<PanSequenceNumberT>(value);
84 }
85 template <typename PanSequenceNumberT = Aws::String>
86 AmexAttributes& WithPanSequenceNumber(PanSequenceNumberT&& value) {
87 SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetApplicationTransactionCounter() const { return m_applicationTransactionCounter; }
98 inline bool ApplicationTransactionCounterHasBeenSet() const { return m_applicationTransactionCounterHasBeenSet; }
99 template <typename ApplicationTransactionCounterT = Aws::String>
100 void SetApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
101 m_applicationTransactionCounterHasBeenSet = true;
102 m_applicationTransactionCounter = std::forward<ApplicationTransactionCounterT>(value);
103 }
104 template <typename ApplicationTransactionCounterT = Aws::String>
105 AmexAttributes& WithApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
106 SetApplicationTransactionCounter(std::forward<ApplicationTransactionCounterT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetAuthorizationRequestKeyIdentifier() const { return m_authorizationRequestKeyIdentifier; }
117 inline bool AuthorizationRequestKeyIdentifierHasBeenSet() const { return m_authorizationRequestKeyIdentifierHasBeenSet; }
118 template <typename AuthorizationRequestKeyIdentifierT = Aws::String>
119 void SetAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT&& value) {
120 m_authorizationRequestKeyIdentifierHasBeenSet = true;
121 m_authorizationRequestKeyIdentifier = std::forward<AuthorizationRequestKeyIdentifierT>(value);
122 }
123 template <typename AuthorizationRequestKeyIdentifierT = Aws::String>
124 AmexAttributes& WithAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT&& value) {
125 SetAuthorizationRequestKeyIdentifier(std::forward<AuthorizationRequestKeyIdentifierT>(value));
126 return *this;
127 }
129
131
134 inline const CurrentPinAttributes& GetCurrentPinAttributes() const { return m_currentPinAttributes; }
135 inline bool CurrentPinAttributesHasBeenSet() const { return m_currentPinAttributesHasBeenSet; }
136 template <typename CurrentPinAttributesT = CurrentPinAttributes>
137 void SetCurrentPinAttributes(CurrentPinAttributesT&& value) {
138 m_currentPinAttributesHasBeenSet = true;
139 m_currentPinAttributes = std::forward<CurrentPinAttributesT>(value);
140 }
141 template <typename CurrentPinAttributesT = CurrentPinAttributes>
142 AmexAttributes& WithCurrentPinAttributes(CurrentPinAttributesT&& value) {
143 SetCurrentPinAttributes(std::forward<CurrentPinAttributesT>(value));
144 return *this;
145 }
147 private:
149
150 Aws::String m_primaryAccountNumber;
151
152 Aws::String m_panSequenceNumber;
153
154 Aws::String m_applicationTransactionCounter;
155
156 Aws::String m_authorizationRequestKeyIdentifier;
157
158 CurrentPinAttributes m_currentPinAttributes;
159 bool m_majorKeyDerivationModeHasBeenSet = false;
160 bool m_primaryAccountNumberHasBeenSet = false;
161 bool m_panSequenceNumberHasBeenSet = false;
162 bool m_applicationTransactionCounterHasBeenSet = false;
163 bool m_authorizationRequestKeyIdentifierHasBeenSet = false;
164 bool m_currentPinAttributesHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace PaymentCryptographyData
169} // namespace Aws
AmexAttributes & WithAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes()=default
void SetMajorKeyDerivationMode(MajorKeyDerivationMode value)
const Aws::String & GetAuthorizationRequestKeyIdentifier() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
MajorKeyDerivationMode GetMajorKeyDerivationMode() const
void SetPrimaryAccountNumber(PrimaryAccountNumberT &&value)
void SetAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT &&value)
const Aws::String & GetApplicationTransactionCounter() const
AmexAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
void SetApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AmexAttributes & WithApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
void SetCurrentPinAttributes(CurrentPinAttributesT &&value)
void SetPanSequenceNumber(PanSequenceNumberT &&value)
AmexAttributes & WithCurrentPinAttributes(CurrentPinAttributesT &&value)
AmexAttributes & WithPanSequenceNumber(PanSequenceNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API AmexAttributes(Aws::Utils::Json::JsonView jsonValue)
AmexAttributes & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
const CurrentPinAttributes & GetCurrentPinAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue