AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmvEncryptionAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/EmvMajorKeyDerivationMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography-data/model/EmvEncryptionMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes();
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const EmvMajorKeyDerivationMode& GetMajorKeyDerivationMode() const{ return m_majorKeyDerivationMode; }
49 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
50 inline void SetMajorKeyDerivationMode(const EmvMajorKeyDerivationMode& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
51 inline void SetMajorKeyDerivationMode(EmvMajorKeyDerivationMode&& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = std::move(value); }
55
57
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 EmvEncryptionAttributes& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
68 inline EmvEncryptionAttributes& 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); }
83 inline EmvEncryptionAttributes& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;}
84 inline EmvEncryptionAttributes& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(value); return *this;}
86
88
93 inline const Aws::String& GetSessionDerivationData() const{ return m_sessionDerivationData; }
94 inline bool SessionDerivationDataHasBeenSet() const { return m_sessionDerivationDataHasBeenSet; }
95 inline void SetSessionDerivationData(const Aws::String& value) { m_sessionDerivationDataHasBeenSet = true; m_sessionDerivationData = value; }
96 inline void SetSessionDerivationData(Aws::String&& value) { m_sessionDerivationDataHasBeenSet = true; m_sessionDerivationData = std::move(value); }
97 inline void SetSessionDerivationData(const char* value) { m_sessionDerivationDataHasBeenSet = true; m_sessionDerivationData.assign(value); }
100 inline EmvEncryptionAttributes& WithSessionDerivationData(const char* value) { SetSessionDerivationData(value); return *this;}
102
104
107 inline const EmvEncryptionMode& GetMode() const{ return m_mode; }
108 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
109 inline void SetMode(const EmvEncryptionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
110 inline void SetMode(EmvEncryptionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
111 inline EmvEncryptionAttributes& WithMode(const EmvEncryptionMode& value) { SetMode(value); return *this;}
112 inline EmvEncryptionAttributes& WithMode(EmvEncryptionMode&& value) { SetMode(std::move(value)); return *this;}
114
116
120 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
121 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
122 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
123 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
124 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
126 inline EmvEncryptionAttributes& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
127 inline EmvEncryptionAttributes& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
129 private:
130
131 EmvMajorKeyDerivationMode m_majorKeyDerivationMode;
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_sessionDerivationData;
141 bool m_sessionDerivationDataHasBeenSet = false;
142
143 EmvEncryptionMode m_mode;
144 bool m_modeHasBeenSet = false;
145
146 Aws::String m_initializationVector;
147 bool m_initializationVectorHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace PaymentCryptographyData
152} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes()
const EmvMajorKeyDerivationMode & GetMajorKeyDerivationMode() const
EmvEncryptionAttributes & WithPanSequenceNumber(Aws::String &&value)
EmvEncryptionAttributes & WithInitializationVector(Aws::String &&value)
EmvEncryptionAttributes & WithSessionDerivationData(const char *value)
EmvEncryptionAttributes & WithPrimaryAccountNumber(const Aws::String &value)
EmvEncryptionAttributes & WithMajorKeyDerivationMode(EmvMajorKeyDerivationMode &&value)
EmvEncryptionAttributes & WithSessionDerivationData(Aws::String &&value)
EmvEncryptionAttributes & WithMode(EmvEncryptionMode &&value)
EmvEncryptionAttributes & WithInitializationVector(const char *value)
EmvEncryptionAttributes & WithPrimaryAccountNumber(const char *value)
EmvEncryptionAttributes & WithPanSequenceNumber(const char *value)
EmvEncryptionAttributes & WithMajorKeyDerivationMode(const EmvMajorKeyDerivationMode &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
EmvEncryptionAttributes & WithPanSequenceNumber(const Aws::String &value)
EmvEncryptionAttributes & WithPrimaryAccountNumber(Aws::String &&value)
void SetMajorKeyDerivationMode(const EmvMajorKeyDerivationMode &value)
EmvEncryptionAttributes & WithSessionDerivationData(const Aws::String &value)
EmvEncryptionAttributes & WithInitializationVector(const Aws::String &value)
EmvEncryptionAttributes & WithMode(const EmvEncryptionMode &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EmvEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue