AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MacAlgorithmEmv.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/SessionKeyDerivationMode.h>
11#include <aws/payment-cryptography-data/model/SessionKeyDerivationValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PaymentCryptographyData
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv();
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
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
62 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
63 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
64 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
65 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
66 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
67 inline MacAlgorithmEmv& WithPrimaryAccountNumber(const Aws::String& value) { SetPrimaryAccountNumber(value); return *this;}
68 inline MacAlgorithmEmv& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
69 inline MacAlgorithmEmv& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
71
73
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 MacAlgorithmEmv& WithPanSequenceNumber(const Aws::String& value) { SetPanSequenceNumber(value); return *this;}
83 inline MacAlgorithmEmv& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;}
84 inline MacAlgorithmEmv& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(value); return *this;}
86
88
92 inline const SessionKeyDerivationMode& GetSessionKeyDerivationMode() const{ return m_sessionKeyDerivationMode; }
93 inline bool SessionKeyDerivationModeHasBeenSet() const { return m_sessionKeyDerivationModeHasBeenSet; }
94 inline void SetSessionKeyDerivationMode(const SessionKeyDerivationMode& value) { m_sessionKeyDerivationModeHasBeenSet = true; m_sessionKeyDerivationMode = value; }
95 inline void SetSessionKeyDerivationMode(SessionKeyDerivationMode&& value) { m_sessionKeyDerivationModeHasBeenSet = true; m_sessionKeyDerivationMode = std::move(value); }
99
101
105 inline const SessionKeyDerivationValue& GetSessionKeyDerivationValue() const{ return m_sessionKeyDerivationValue; }
106 inline bool SessionKeyDerivationValueHasBeenSet() const { return m_sessionKeyDerivationValueHasBeenSet; }
107 inline void SetSessionKeyDerivationValue(const SessionKeyDerivationValue& value) { m_sessionKeyDerivationValueHasBeenSet = true; m_sessionKeyDerivationValue = value; }
108 inline void SetSessionKeyDerivationValue(SessionKeyDerivationValue&& value) { m_sessionKeyDerivationValueHasBeenSet = true; m_sessionKeyDerivationValue = std::move(value); }
112 private:
113
114 MajorKeyDerivationMode m_majorKeyDerivationMode;
115 bool m_majorKeyDerivationModeHasBeenSet = false;
116
117 Aws::String m_primaryAccountNumber;
118 bool m_primaryAccountNumberHasBeenSet = false;
119
120 Aws::String m_panSequenceNumber;
121 bool m_panSequenceNumberHasBeenSet = false;
122
123 SessionKeyDerivationMode m_sessionKeyDerivationMode;
124 bool m_sessionKeyDerivationModeHasBeenSet = false;
125
126 SessionKeyDerivationValue m_sessionKeyDerivationValue;
127 bool m_sessionKeyDerivationValueHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace PaymentCryptographyData
132} // namespace Aws
MacAlgorithmEmv & WithPrimaryAccountNumber(const char *value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv & operator=(Aws::Utils::Json::JsonView jsonValue)
MacAlgorithmEmv & WithSessionKeyDerivationValue(SessionKeyDerivationValue &&value)
void SetSessionKeyDerivationValue(const SessionKeyDerivationValue &value)
MacAlgorithmEmv & WithPanSequenceNumber(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv()
void SetPrimaryAccountNumber(const Aws::String &value)
void SetMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
MacAlgorithmEmv & WithMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
MacAlgorithmEmv & WithSessionKeyDerivationValue(const SessionKeyDerivationValue &value)
const SessionKeyDerivationMode & GetSessionKeyDerivationMode() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
MacAlgorithmEmv & WithMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
MacAlgorithmEmv & WithPrimaryAccountNumber(const Aws::String &value)
void SetMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
const MajorKeyDerivationMode & GetMajorKeyDerivationMode() const
MacAlgorithmEmv & WithPanSequenceNumber(Aws::String &&value)
void SetSessionKeyDerivationValue(SessionKeyDerivationValue &&value)
void SetSessionKeyDerivationMode(const SessionKeyDerivationMode &value)
MacAlgorithmEmv & WithPanSequenceNumber(const char *value)
MacAlgorithmEmv & WithSessionKeyDerivationMode(const SessionKeyDerivationMode &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmEmv(Aws::Utils::Json::JsonView jsonValue)
MacAlgorithmEmv & WithSessionKeyDerivationMode(SessionKeyDerivationMode &&value)
const SessionKeyDerivationValue & GetSessionKeyDerivationValue() const
MacAlgorithmEmv & WithPrimaryAccountNumber(Aws::String &&value)
void SetSessionKeyDerivationMode(SessionKeyDerivationMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue