AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
MasterCardAttributes.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/MajorKeyDerivationMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptographyData {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes() = default;
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
41 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
43 m_majorKeyDerivationModeHasBeenSet = true;
44 m_majorKeyDerivationMode = value;
45 }
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
57 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
58 template <typename PrimaryAccountNumberT = Aws::String>
59 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
60 m_primaryAccountNumberHasBeenSet = true;
61 m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value);
62 }
63 template <typename PrimaryAccountNumberT = Aws::String>
64 MasterCardAttributes& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) {
65 SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
77 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
78 template <typename PanSequenceNumberT = Aws::String>
79 void SetPanSequenceNumber(PanSequenceNumberT&& value) {
80 m_panSequenceNumberHasBeenSet = true;
81 m_panSequenceNumber = std::forward<PanSequenceNumberT>(value);
82 }
83 template <typename PanSequenceNumberT = Aws::String>
84 MasterCardAttributes& WithPanSequenceNumber(PanSequenceNumberT&& value) {
85 SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetApplicationCryptogram() const { return m_applicationCryptogram; }
96 inline bool ApplicationCryptogramHasBeenSet() const { return m_applicationCryptogramHasBeenSet; }
97 template <typename ApplicationCryptogramT = Aws::String>
98 void SetApplicationCryptogram(ApplicationCryptogramT&& value) {
99 m_applicationCryptogramHasBeenSet = true;
100 m_applicationCryptogram = std::forward<ApplicationCryptogramT>(value);
101 }
102 template <typename ApplicationCryptogramT = Aws::String>
103 MasterCardAttributes& WithApplicationCryptogram(ApplicationCryptogramT&& value) {
104 SetApplicationCryptogram(std::forward<ApplicationCryptogramT>(value));
105 return *this;
106 }
108 private:
110
111 Aws::String m_primaryAccountNumber;
112
113 Aws::String m_panSequenceNumber;
114
115 Aws::String m_applicationCryptogram;
116 bool m_majorKeyDerivationModeHasBeenSet = false;
117 bool m_primaryAccountNumberHasBeenSet = false;
118 bool m_panSequenceNumberHasBeenSet = false;
119 bool m_applicationCryptogramHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace PaymentCryptographyData
124} // namespace Aws
MasterCardAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
MasterCardAttributes & WithPanSequenceNumber(PanSequenceNumberT &&value)
MasterCardAttributes & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
MasterCardAttributes & WithApplicationCryptogram(ApplicationCryptogramT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApplicationCryptogram(ApplicationCryptogramT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue