AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DerivationMethodAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/AmexAttributes.h>
9#include <aws/payment-cryptography-data/model/Emv2000Attributes.h>
10#include <aws/payment-cryptography-data/model/EmvCommonAttributes.h>
11#include <aws/payment-cryptography-data/model/MasterCardAttributes.h>
12#include <aws/payment-cryptography-data/model/VisaAttributes.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData {
24namespace Model {
25
33 public:
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes() = default;
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const EmvCommonAttributes& GetEmvCommon() const { return m_emvCommon; }
45 inline bool EmvCommonHasBeenSet() const { return m_emvCommonHasBeenSet; }
46 template <typename EmvCommonT = EmvCommonAttributes>
47 void SetEmvCommon(EmvCommonT&& value) {
48 m_emvCommonHasBeenSet = true;
49 m_emvCommon = std::forward<EmvCommonT>(value);
50 }
51 template <typename EmvCommonT = EmvCommonAttributes>
53 SetEmvCommon(std::forward<EmvCommonT>(value));
54 return *this;
55 }
57
59
63 inline const AmexAttributes& GetAmex() const { return m_amex; }
64 inline bool AmexHasBeenSet() const { return m_amexHasBeenSet; }
65 template <typename AmexT = AmexAttributes>
66 void SetAmex(AmexT&& value) {
67 m_amexHasBeenSet = true;
68 m_amex = std::forward<AmexT>(value);
69 }
70 template <typename AmexT = AmexAttributes>
72 SetAmex(std::forward<AmexT>(value));
73 return *this;
74 }
76
78
82 inline const VisaAttributes& GetVisa() const { return m_visa; }
83 inline bool VisaHasBeenSet() const { return m_visaHasBeenSet; }
84 template <typename VisaT = VisaAttributes>
85 void SetVisa(VisaT&& value) {
86 m_visaHasBeenSet = true;
87 m_visa = std::forward<VisaT>(value);
88 }
89 template <typename VisaT = VisaAttributes>
91 SetVisa(std::forward<VisaT>(value));
92 return *this;
93 }
95
97
101 inline const Emv2000Attributes& GetEmv2000() const { return m_emv2000; }
102 inline bool Emv2000HasBeenSet() const { return m_emv2000HasBeenSet; }
103 template <typename Emv2000T = Emv2000Attributes>
104 void SetEmv2000(Emv2000T&& value) {
105 m_emv2000HasBeenSet = true;
106 m_emv2000 = std::forward<Emv2000T>(value);
107 }
108 template <typename Emv2000T = Emv2000Attributes>
110 SetEmv2000(std::forward<Emv2000T>(value));
111 return *this;
112 }
114
116
120 inline const MasterCardAttributes& GetMastercard() const { return m_mastercard; }
121 inline bool MastercardHasBeenSet() const { return m_mastercardHasBeenSet; }
122 template <typename MastercardT = MasterCardAttributes>
123 void SetMastercard(MastercardT&& value) {
124 m_mastercardHasBeenSet = true;
125 m_mastercard = std::forward<MastercardT>(value);
126 }
127 template <typename MastercardT = MasterCardAttributes>
129 SetMastercard(std::forward<MastercardT>(value));
130 return *this;
131 }
133 private:
134 EmvCommonAttributes m_emvCommon;
135
136 AmexAttributes m_amex;
137
138 VisaAttributes m_visa;
139
140 Emv2000Attributes m_emv2000;
141
142 MasterCardAttributes m_mastercard;
143 bool m_emvCommonHasBeenSet = false;
144 bool m_amexHasBeenSet = false;
145 bool m_visaHasBeenSet = false;
146 bool m_emv2000HasBeenSet = false;
147 bool m_mastercardHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace PaymentCryptographyData
152} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DerivationMethodAttributes & WithMastercard(MastercardT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DerivationMethodAttributes(Aws::Utils::Json::JsonView jsonValue)
DerivationMethodAttributes & WithEmvCommon(EmvCommonT &&value)
Aws::Utils::Json::JsonValue JsonValue