AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
EncryptionDecryptionAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/AsymmetricEncryptionAttributes.h>
9#include <aws/payment-cryptography-data/model/DukptEncryptionAttributes.h>
10#include <aws/payment-cryptography-data/model/EmvEncryptionAttributes.h>
11#include <aws/payment-cryptography-data/model/SymmetricEncryptionAttributes.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData {
23namespace Model {
24
32 public:
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes() = default;
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const SymmetricEncryptionAttributes& GetSymmetric() const { return m_symmetric; }
44 inline bool SymmetricHasBeenSet() const { return m_symmetricHasBeenSet; }
45 template <typename SymmetricT = SymmetricEncryptionAttributes>
46 void SetSymmetric(SymmetricT&& value) {
47 m_symmetricHasBeenSet = true;
48 m_symmetric = std::forward<SymmetricT>(value);
49 }
50 template <typename SymmetricT = SymmetricEncryptionAttributes>
52 SetSymmetric(std::forward<SymmetricT>(value));
53 return *this;
54 }
56
58
59 inline const AsymmetricEncryptionAttributes& GetAsymmetric() const { return m_asymmetric; }
60 inline bool AsymmetricHasBeenSet() const { return m_asymmetricHasBeenSet; }
61 template <typename AsymmetricT = AsymmetricEncryptionAttributes>
62 void SetAsymmetric(AsymmetricT&& value) {
63 m_asymmetricHasBeenSet = true;
64 m_asymmetric = std::forward<AsymmetricT>(value);
65 }
66 template <typename AsymmetricT = AsymmetricEncryptionAttributes>
68 SetAsymmetric(std::forward<AsymmetricT>(value));
69 return *this;
70 }
72
74
75 inline const DukptEncryptionAttributes& GetDukpt() const { return m_dukpt; }
76 inline bool DukptHasBeenSet() const { return m_dukptHasBeenSet; }
77 template <typename DukptT = DukptEncryptionAttributes>
78 void SetDukpt(DukptT&& value) {
79 m_dukptHasBeenSet = true;
80 m_dukpt = std::forward<DukptT>(value);
81 }
82 template <typename DukptT = DukptEncryptionAttributes>
84 SetDukpt(std::forward<DukptT>(value));
85 return *this;
86 }
88
90
93 inline const EmvEncryptionAttributes& GetEmv() const { return m_emv; }
94 inline bool EmvHasBeenSet() const { return m_emvHasBeenSet; }
95 template <typename EmvT = EmvEncryptionAttributes>
96 void SetEmv(EmvT&& value) {
97 m_emvHasBeenSet = true;
98 m_emv = std::forward<EmvT>(value);
99 }
100 template <typename EmvT = EmvEncryptionAttributes>
102 SetEmv(std::forward<EmvT>(value));
103 return *this;
104 }
106 private:
108
110
112
114 bool m_symmetricHasBeenSet = false;
115 bool m_asymmetricHasBeenSet = false;
116 bool m_dukptHasBeenSet = false;
117 bool m_emvHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace PaymentCryptographyData
122} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes()=default
EncryptionDecryptionAttributes & WithAsymmetric(AsymmetricT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue