AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/SymmetricEncryptionAttributes.h>
9#include <aws/payment-cryptography-data/model/AsymmetricEncryptionAttributes.h>
10#include <aws/payment-cryptography-data/model/DukptEncryptionAttributes.h>
11#include <aws/payment-cryptography-data/model/EmvEncryptionAttributes.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 EncryptionDecryptionAttributes() = default;
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API EncryptionDecryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const SymmetricEncryptionAttributes& GetSymmetric() const { return m_symmetric; }
50 inline bool SymmetricHasBeenSet() const { return m_symmetricHasBeenSet; }
51 template<typename SymmetricT = SymmetricEncryptionAttributes>
52 void SetSymmetric(SymmetricT&& value) { m_symmetricHasBeenSet = true; m_symmetric = std::forward<SymmetricT>(value); }
53 template<typename SymmetricT = SymmetricEncryptionAttributes>
54 EncryptionDecryptionAttributes& WithSymmetric(SymmetricT&& value) { SetSymmetric(std::forward<SymmetricT>(value)); return *this;}
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) { m_asymmetricHasBeenSet = true; m_asymmetric = std::forward<AsymmetricT>(value); }
63 template<typename AsymmetricT = AsymmetricEncryptionAttributes>
64 EncryptionDecryptionAttributes& WithAsymmetric(AsymmetricT&& value) { SetAsymmetric(std::forward<AsymmetricT>(value)); return *this;}
66
68
69 inline const DukptEncryptionAttributes& GetDukpt() const { return m_dukpt; }
70 inline bool DukptHasBeenSet() const { return m_dukptHasBeenSet; }
71 template<typename DukptT = DukptEncryptionAttributes>
72 void SetDukpt(DukptT&& value) { m_dukptHasBeenSet = true; m_dukpt = std::forward<DukptT>(value); }
73 template<typename DukptT = DukptEncryptionAttributes>
74 EncryptionDecryptionAttributes& WithDukpt(DukptT&& value) { SetDukpt(std::forward<DukptT>(value)); return *this;}
76
78
81 inline const EmvEncryptionAttributes& GetEmv() const { return m_emv; }
82 inline bool EmvHasBeenSet() const { return m_emvHasBeenSet; }
83 template<typename EmvT = EmvEncryptionAttributes>
84 void SetEmv(EmvT&& value) { m_emvHasBeenSet = true; m_emv = std::forward<EmvT>(value); }
85 template<typename EmvT = EmvEncryptionAttributes>
86 EncryptionDecryptionAttributes& WithEmv(EmvT&& value) { SetEmv(std::forward<EmvT>(value)); return *this;}
88 private:
89
91 bool m_symmetricHasBeenSet = false;
92
94 bool m_asymmetricHasBeenSet = false;
95
97 bool m_dukptHasBeenSet = false;
98
100 bool m_emvHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace PaymentCryptographyData
105} // 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