AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
VisaAttributes.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 VisaAttributes() = default;
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaAttributes(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
42 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
44 m_majorKeyDerivationModeHasBeenSet = true;
45 m_majorKeyDerivationMode = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
58 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
59 template <typename PrimaryAccountNumberT = Aws::String>
60 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
61 m_primaryAccountNumberHasBeenSet = true;
62 m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value);
63 }
64 template <typename PrimaryAccountNumberT = Aws::String>
65 VisaAttributes& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
66 SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
78 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
79 template <typename PanSequenceNumberT = Aws::String>
80 void SetPanSequenceNumber(PanSequenceNumberT&& value) {
81 m_panSequenceNumberHasBeenSet = true;
82 m_panSequenceNumber = std::forward<PanSequenceNumberT>(value);
83 }
84 template <typename PanSequenceNumberT = Aws::String>
85 VisaAttributes& WithPanSequenceNumber(PanSequenceNumberT&& value) {
86 SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetApplicationTransactionCounter() const { return m_applicationTransactionCounter; }
97 inline bool ApplicationTransactionCounterHasBeenSet() const { return m_applicationTransactionCounterHasBeenSet; }
98 template <typename ApplicationTransactionCounterT = Aws::String>
99 void SetApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
100 m_applicationTransactionCounterHasBeenSet = true;
101 m_applicationTransactionCounter = std::forward<ApplicationTransactionCounterT>(value);
102 }
103 template <typename ApplicationTransactionCounterT = Aws::String>
104 VisaAttributes& WithApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
105 SetApplicationTransactionCounter(std::forward<ApplicationTransactionCounterT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetAuthorizationRequestKeyIdentifier() const { return m_authorizationRequestKeyIdentifier; }
116 inline bool AuthorizationRequestKeyIdentifierHasBeenSet() const { return m_authorizationRequestKeyIdentifierHasBeenSet; }
117 template <typename AuthorizationRequestKeyIdentifierT = Aws::String>
118 void SetAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT&& value) {
119 m_authorizationRequestKeyIdentifierHasBeenSet = true;
120 m_authorizationRequestKeyIdentifier = std::forward<AuthorizationRequestKeyIdentifierT>(value);
121 }
122 template <typename AuthorizationRequestKeyIdentifierT = Aws::String>
123 VisaAttributes& WithAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT&& value) {
124 SetAuthorizationRequestKeyIdentifier(std::forward<AuthorizationRequestKeyIdentifierT>(value));
125 return *this;
126 }
128
130
133 inline const CurrentPinAttributes& GetCurrentPinAttributes() const { return m_currentPinAttributes; }
134 inline bool CurrentPinAttributesHasBeenSet() const { return m_currentPinAttributesHasBeenSet; }
135 template <typename CurrentPinAttributesT = CurrentPinAttributes>
136 void SetCurrentPinAttributes(CurrentPinAttributesT&& value) {
137 m_currentPinAttributesHasBeenSet = true;
138 m_currentPinAttributes = std::forward<CurrentPinAttributesT>(value);
139 }
140 template <typename CurrentPinAttributesT = CurrentPinAttributes>
141 VisaAttributes& WithCurrentPinAttributes(CurrentPinAttributesT&& value) {
142 SetCurrentPinAttributes(std::forward<CurrentPinAttributesT>(value));
143 return *this;
144 }
146 private:
148
149 Aws::String m_primaryAccountNumber;
150
151 Aws::String m_panSequenceNumber;
152
153 Aws::String m_applicationTransactionCounter;
154
155 Aws::String m_authorizationRequestKeyIdentifier;
156
157 CurrentPinAttributes m_currentPinAttributes;
158 bool m_majorKeyDerivationModeHasBeenSet = false;
159 bool m_primaryAccountNumberHasBeenSet = false;
160 bool m_panSequenceNumberHasBeenSet = false;
161 bool m_applicationTransactionCounterHasBeenSet = false;
162 bool m_authorizationRequestKeyIdentifierHasBeenSet = false;
163 bool m_currentPinAttributesHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace PaymentCryptographyData
168} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPanSequenceNumber(PanSequenceNumberT &&value)
void SetPrimaryAccountNumber(PrimaryAccountNumberT &&value)
void SetApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
MajorKeyDerivationMode GetMajorKeyDerivationMode() const
const Aws::String & GetApplicationTransactionCounter() const
VisaAttributes & WithAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT &&value)
const Aws::String & GetAuthorizationRequestKeyIdentifier() const
VisaAttributes & WithApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaAttributes()=default
VisaAttributes & WithCurrentPinAttributes(CurrentPinAttributesT &&value)
void SetCurrentPinAttributes(CurrentPinAttributesT &&value)
void SetMajorKeyDerivationMode(MajorKeyDerivationMode value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaAttributes(Aws::Utils::Json::JsonView jsonValue)
VisaAttributes & WithPanSequenceNumber(PanSequenceNumberT &&value)
VisaAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
VisaAttributes & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
void SetAuthorizationRequestKeyIdentifier(AuthorizationRequestKeyIdentifierT &&value)
const CurrentPinAttributes & GetCurrentPinAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue