AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
50 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
51 inline void SetMajorKeyDerivationMode(MajorKeyDerivationMode value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
54
56
59 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
60 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
61 template<typename PrimaryAccountNumberT = Aws::String>
62 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value); }
63 template<typename PrimaryAccountNumberT = Aws::String>
64 EmvCommonAttributes& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
66
68
73 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
74 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
75 template<typename PanSequenceNumberT = Aws::String>
76 void SetPanSequenceNumber(PanSequenceNumberT&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::forward<PanSequenceNumberT>(value); }
77 template<typename PanSequenceNumberT = Aws::String>
78 EmvCommonAttributes& WithPanSequenceNumber(PanSequenceNumberT&& value) { SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value)); return *this;}
80
82
86 inline const Aws::String& GetApplicationCryptogram() const { return m_applicationCryptogram; }
87 inline bool ApplicationCryptogramHasBeenSet() const { return m_applicationCryptogramHasBeenSet; }
88 template<typename ApplicationCryptogramT = Aws::String>
89 void SetApplicationCryptogram(ApplicationCryptogramT&& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = std::forward<ApplicationCryptogramT>(value); }
90 template<typename ApplicationCryptogramT = Aws::String>
91 EmvCommonAttributes& WithApplicationCryptogram(ApplicationCryptogramT&& value) { SetApplicationCryptogram(std::forward<ApplicationCryptogramT>(value)); return *this;}
93
95
98 inline EmvEncryptionMode GetMode() const { return m_mode; }
99 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
100 inline void SetMode(EmvEncryptionMode value) { m_modeHasBeenSet = true; m_mode = value; }
101 inline EmvCommonAttributes& WithMode(EmvEncryptionMode value) { SetMode(value); return *this;}
103
105
112 inline PinBlockPaddingType GetPinBlockPaddingType() const { return m_pinBlockPaddingType; }
113 inline bool PinBlockPaddingTypeHasBeenSet() const { return m_pinBlockPaddingTypeHasBeenSet; }
114 inline void SetPinBlockPaddingType(PinBlockPaddingType value) { m_pinBlockPaddingTypeHasBeenSet = true; m_pinBlockPaddingType = value; }
117
119
124 inline PinBlockLengthPosition GetPinBlockLengthPosition() const { return m_pinBlockLengthPosition; }
125 inline bool PinBlockLengthPositionHasBeenSet() const { return m_pinBlockLengthPositionHasBeenSet; }
126 inline void SetPinBlockLengthPosition(PinBlockLengthPosition value) { m_pinBlockLengthPositionHasBeenSet = true; m_pinBlockLengthPosition = value; }
129 private:
130
132 bool m_majorKeyDerivationModeHasBeenSet = false;
133
134 Aws::String m_primaryAccountNumber;
135 bool m_primaryAccountNumberHasBeenSet = false;
136
137 Aws::String m_panSequenceNumber;
138 bool m_panSequenceNumberHasBeenSet = false;
139
140 Aws::String m_applicationCryptogram;
141 bool m_applicationCryptogramHasBeenSet = false;
142
144 bool m_modeHasBeenSet = false;
145
147 bool m_pinBlockPaddingTypeHasBeenSet = false;
148
150 bool m_pinBlockLengthPositionHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace PaymentCryptographyData
155} // namespace Aws
EmvCommonAttributes & WithPanSequenceNumber(PanSequenceNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes(Aws::Utils::Json::JsonView jsonValue)
EmvCommonAttributes & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
EmvCommonAttributes & WithMode(EmvEncryptionMode value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
EmvCommonAttributes & WithPinBlockLengthPosition(PinBlockLengthPosition value)
void SetApplicationCryptogram(ApplicationCryptogramT &&value)
EmvCommonAttributes & WithPinBlockPaddingType(PinBlockPaddingType value)
void SetPrimaryAccountNumber(PrimaryAccountNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvCommonAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
EmvCommonAttributes & WithApplicationCryptogram(ApplicationCryptogramT &&value)
EmvCommonAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue