AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SessionKeyDerivation.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/SessionKeyEmvCommon.h>
9#include <aws/payment-cryptography-data/model/SessionKeyMastercard.h>
10#include <aws/payment-cryptography-data/model/SessionKeyEmv2000.h>
11#include <aws/payment-cryptography-data/model/SessionKeyAmex.h>
12#include <aws/payment-cryptography-data/model/SessionKeyVisa.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 SessionKeyDerivation() = default;
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyDerivation(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyDerivation& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const SessionKeyEmvCommon& GetEmvCommon() const { return m_emvCommon; }
51 inline bool EmvCommonHasBeenSet() const { return m_emvCommonHasBeenSet; }
52 template<typename EmvCommonT = SessionKeyEmvCommon>
53 void SetEmvCommon(EmvCommonT&& value) { m_emvCommonHasBeenSet = true; m_emvCommon = std::forward<EmvCommonT>(value); }
54 template<typename EmvCommonT = SessionKeyEmvCommon>
55 SessionKeyDerivation& WithEmvCommon(EmvCommonT&& value) { SetEmvCommon(std::forward<EmvCommonT>(value)); return *this;}
57
59
63 inline const SessionKeyMastercard& GetMastercard() const { return m_mastercard; }
64 inline bool MastercardHasBeenSet() const { return m_mastercardHasBeenSet; }
65 template<typename MastercardT = SessionKeyMastercard>
66 void SetMastercard(MastercardT&& value) { m_mastercardHasBeenSet = true; m_mastercard = std::forward<MastercardT>(value); }
67 template<typename MastercardT = SessionKeyMastercard>
68 SessionKeyDerivation& WithMastercard(MastercardT&& value) { SetMastercard(std::forward<MastercardT>(value)); return *this;}
70
72
76 inline const SessionKeyEmv2000& GetEmv2000() const { return m_emv2000; }
77 inline bool Emv2000HasBeenSet() const { return m_emv2000HasBeenSet; }
78 template<typename Emv2000T = SessionKeyEmv2000>
79 void SetEmv2000(Emv2000T&& value) { m_emv2000HasBeenSet = true; m_emv2000 = std::forward<Emv2000T>(value); }
80 template<typename Emv2000T = SessionKeyEmv2000>
81 SessionKeyDerivation& WithEmv2000(Emv2000T&& value) { SetEmv2000(std::forward<Emv2000T>(value)); return *this;}
83
85
89 inline const SessionKeyAmex& GetAmex() const { return m_amex; }
90 inline bool AmexHasBeenSet() const { return m_amexHasBeenSet; }
91 template<typename AmexT = SessionKeyAmex>
92 void SetAmex(AmexT&& value) { m_amexHasBeenSet = true; m_amex = std::forward<AmexT>(value); }
93 template<typename AmexT = SessionKeyAmex>
94 SessionKeyDerivation& WithAmex(AmexT&& value) { SetAmex(std::forward<AmexT>(value)); return *this;}
96
98
102 inline const SessionKeyVisa& GetVisa() const { return m_visa; }
103 inline bool VisaHasBeenSet() const { return m_visaHasBeenSet; }
104 template<typename VisaT = SessionKeyVisa>
105 void SetVisa(VisaT&& value) { m_visaHasBeenSet = true; m_visa = std::forward<VisaT>(value); }
106 template<typename VisaT = SessionKeyVisa>
107 SessionKeyDerivation& WithVisa(VisaT&& value) { SetVisa(std::forward<VisaT>(value)); return *this;}
109 private:
110
111 SessionKeyEmvCommon m_emvCommon;
112 bool m_emvCommonHasBeenSet = false;
113
114 SessionKeyMastercard m_mastercard;
115 bool m_mastercardHasBeenSet = false;
116
117 SessionKeyEmv2000 m_emv2000;
118 bool m_emv2000HasBeenSet = false;
119
120 SessionKeyAmex m_amex;
121 bool m_amexHasBeenSet = false;
122
123 SessionKeyVisa m_visa;
124 bool m_visaHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace PaymentCryptographyData
129} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyDerivation(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyDerivation & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionKeyDerivation & WithEmvCommon(EmvCommonT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyDerivation()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SessionKeyDerivation & WithMastercard(MastercardT &&value)
Aws::Utils::Json::JsonValue JsonValue