AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReEncryptionAttributes.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/DukptEncryptionAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes() = default;
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SymmetricEncryptionAttributes& GetSymmetric() const { return m_symmetric; }
47 inline bool SymmetricHasBeenSet() const { return m_symmetricHasBeenSet; }
48 template<typename SymmetricT = SymmetricEncryptionAttributes>
49 void SetSymmetric(SymmetricT&& value) { m_symmetricHasBeenSet = true; m_symmetric = std::forward<SymmetricT>(value); }
50 template<typename SymmetricT = SymmetricEncryptionAttributes>
51 ReEncryptionAttributes& WithSymmetric(SymmetricT&& value) { SetSymmetric(std::forward<SymmetricT>(value)); return *this;}
53
55
56 inline const DukptEncryptionAttributes& GetDukpt() const { return m_dukpt; }
57 inline bool DukptHasBeenSet() const { return m_dukptHasBeenSet; }
58 template<typename DukptT = DukptEncryptionAttributes>
59 void SetDukpt(DukptT&& value) { m_dukptHasBeenSet = true; m_dukpt = std::forward<DukptT>(value); }
60 template<typename DukptT = DukptEncryptionAttributes>
61 ReEncryptionAttributes& WithDukpt(DukptT&& value) { SetDukpt(std::forward<DukptT>(value)); return *this;}
63 private:
64
66 bool m_symmetricHasBeenSet = false;
67
69 bool m_dukptHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace PaymentCryptographyData
74} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes()=default
ReEncryptionAttributes & WithSymmetric(SymmetricT &&value)
const SymmetricEncryptionAttributes & GetSymmetric() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue