AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSymmetric(const SymmetricEncryptionAttributes& value) { m_symmetricHasBeenSet = true; m_symmetric = value; }
49 inline void SetSymmetric(SymmetricEncryptionAttributes&& value) { m_symmetricHasBeenSet = true; m_symmetric = std::move(value); }
51 inline ReEncryptionAttributes& WithSymmetric(SymmetricEncryptionAttributes&& value) { SetSymmetric(std::move(value)); return *this;}
53
55
56 inline const DukptEncryptionAttributes& GetDukpt() const{ return m_dukpt; }
57 inline bool DukptHasBeenSet() const { return m_dukptHasBeenSet; }
58 inline void SetDukpt(const DukptEncryptionAttributes& value) { m_dukptHasBeenSet = true; m_dukpt = value; }
59 inline void SetDukpt(DukptEncryptionAttributes&& value) { m_dukptHasBeenSet = true; m_dukpt = std::move(value); }
60 inline ReEncryptionAttributes& WithDukpt(const DukptEncryptionAttributes& value) { SetDukpt(value); return *this;}
61 inline ReEncryptionAttributes& WithDukpt(DukptEncryptionAttributes&& value) { SetDukpt(std::move(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
ReEncryptionAttributes & WithSymmetric(SymmetricEncryptionAttributes &&value)
ReEncryptionAttributes & WithDukpt(DukptEncryptionAttributes &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes()
ReEncryptionAttributes & WithSymmetric(const SymmetricEncryptionAttributes &value)
const SymmetricEncryptionAttributes & GetSymmetric() const
void SetSymmetric(SymmetricEncryptionAttributes &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue)
ReEncryptionAttributes & WithDukpt(const DukptEncryptionAttributes &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDukpt(const DukptEncryptionAttributes &value)
void SetSymmetric(const SymmetricEncryptionAttributes &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue