AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmvCommonAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/MajorKeyDerivationMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography-data/model/EmvEncryptionMode.h>
11#include <aws/payment-cryptography-data/model/PinBlockPaddingType.h>
12#include <aws/payment-cryptography-data/model/PinBlockLengthPosition.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace PaymentCryptographyData
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes();
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const MajorKeyDerivationMode& GetMajorKeyDerivationMode() const{ return m_majorKeyDerivationMode; }
50 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
51 inline void SetMajorKeyDerivationMode(const MajorKeyDerivationMode& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
52 inline void SetMajorKeyDerivationMode(MajorKeyDerivationMode&& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = std::move(value); }
56
58
61 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
62 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
63 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
64 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
65 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
67 inline EmvCommonAttributes& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
68 inline EmvCommonAttributes& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
70
72
77 inline const Aws::String& GetPanSequenceNumber() const{ return m_panSequenceNumber; }
78 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
79 inline void SetPanSequenceNumber(const Aws::String& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = value; }
80 inline void SetPanSequenceNumber(Aws::String&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::move(value); }
81 inline void SetPanSequenceNumber(const char* value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber.assign(value); }
82 inline EmvCommonAttributes& WithPanSequenceNumber(const Aws::String& value) { SetPanSequenceNumber(value); return *this;}
83 inline EmvCommonAttributes& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;}
84 inline EmvCommonAttributes& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(value); return *this;}
86
88
92 inline const Aws::String& GetApplicationCryptogram() const{ return m_applicationCryptogram; }
93 inline bool ApplicationCryptogramHasBeenSet() const { return m_applicationCryptogramHasBeenSet; }
94 inline void SetApplicationCryptogram(const Aws::String& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = value; }
95 inline void SetApplicationCryptogram(Aws::String&& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = std::move(value); }
96 inline void SetApplicationCryptogram(const char* value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram.assign(value); }
98 inline EmvCommonAttributes& WithApplicationCryptogram(Aws::String&& value) { SetApplicationCryptogram(std::move(value)); return *this;}
99 inline EmvCommonAttributes& WithApplicationCryptogram(const char* value) { SetApplicationCryptogram(value); return *this;}
101
103
106 inline const EmvEncryptionMode& GetMode() const{ return m_mode; }
107 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
108 inline void SetMode(const EmvEncryptionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
109 inline void SetMode(EmvEncryptionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
110 inline EmvCommonAttributes& WithMode(const EmvEncryptionMode& value) { SetMode(value); return *this;}
111 inline EmvCommonAttributes& WithMode(EmvEncryptionMode&& value) { SetMode(std::move(value)); return *this;}
113
115
122 inline const PinBlockPaddingType& GetPinBlockPaddingType() const{ return m_pinBlockPaddingType; }
123 inline bool PinBlockPaddingTypeHasBeenSet() const { return m_pinBlockPaddingTypeHasBeenSet; }
124 inline void SetPinBlockPaddingType(const PinBlockPaddingType& value) { m_pinBlockPaddingTypeHasBeenSet = true; m_pinBlockPaddingType = value; }
125 inline void SetPinBlockPaddingType(PinBlockPaddingType&& value) { m_pinBlockPaddingTypeHasBeenSet = true; m_pinBlockPaddingType = std::move(value); }
129
131
136 inline const PinBlockLengthPosition& GetPinBlockLengthPosition() const{ return m_pinBlockLengthPosition; }
137 inline bool PinBlockLengthPositionHasBeenSet() const { return m_pinBlockLengthPositionHasBeenSet; }
138 inline void SetPinBlockLengthPosition(const PinBlockLengthPosition& value) { m_pinBlockLengthPositionHasBeenSet = true; m_pinBlockLengthPosition = value; }
139 inline void SetPinBlockLengthPosition(PinBlockLengthPosition&& value) { m_pinBlockLengthPositionHasBeenSet = true; m_pinBlockLengthPosition = std::move(value); }
143 private:
144
145 MajorKeyDerivationMode m_majorKeyDerivationMode;
146 bool m_majorKeyDerivationModeHasBeenSet = false;
147
148 Aws::String m_primaryAccountNumber;
149 bool m_primaryAccountNumberHasBeenSet = false;
150
151 Aws::String m_panSequenceNumber;
152 bool m_panSequenceNumberHasBeenSet = false;
153
154 Aws::String m_applicationCryptogram;
155 bool m_applicationCryptogramHasBeenSet = false;
156
157 EmvEncryptionMode m_mode;
158 bool m_modeHasBeenSet = false;
159
160 PinBlockPaddingType m_pinBlockPaddingType;
161 bool m_pinBlockPaddingTypeHasBeenSet = false;
162
163 PinBlockLengthPosition m_pinBlockLengthPosition;
164 bool m_pinBlockLengthPositionHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace PaymentCryptographyData
169} // namespace Aws
EmvCommonAttributes & WithApplicationCryptogram(const char *value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes(Aws::Utils::Json::JsonView jsonValue)
EmvCommonAttributes & WithPanSequenceNumber(const Aws::String &value)
EmvCommonAttributes & WithPinBlockLengthPosition(PinBlockLengthPosition &&value)
EmvCommonAttributes & WithApplicationCryptogram(Aws::String &&value)
const PinBlockLengthPosition & GetPinBlockLengthPosition() const
EmvCommonAttributes & WithPrimaryAccountNumber(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes()
EmvCommonAttributes & WithPinBlockPaddingType(const PinBlockPaddingType &value)
EmvCommonAttributes & WithPrimaryAccountNumber(Aws::String &&value)
const MajorKeyDerivationMode & GetMajorKeyDerivationMode() const
void SetPinBlockLengthPosition(const PinBlockLengthPosition &value)
EmvCommonAttributes & WithPinBlockLengthPosition(const PinBlockLengthPosition &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
EmvCommonAttributes & WithPinBlockPaddingType(PinBlockPaddingType &&value)
EmvCommonAttributes & WithMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
void SetMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
EmvCommonAttributes & WithPanSequenceNumber(Aws::String &&value)
EmvCommonAttributes & WithPrimaryAccountNumber(const char *value)
EmvCommonAttributes & WithMode(const EmvEncryptionMode &value)
void SetMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
void SetPinBlockPaddingType(const PinBlockPaddingType &value)
EmvCommonAttributes & WithMode(EmvEncryptionMode &&value)
EmvCommonAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
void SetPinBlockLengthPosition(PinBlockLengthPosition &&value)
EmvCommonAttributes & WithPanSequenceNumber(const char *value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
EmvCommonAttributes & WithApplicationCryptogram(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue