AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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/DukptEncryptionAttributes.h>
9#include <aws/payment-cryptography-data/model/SymmetricEncryptionAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptographyData {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes() = default;
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SymmetricEncryptionAttributes& GetSymmetric() const { return m_symmetric; }
41 inline bool SymmetricHasBeenSet() const { return m_symmetricHasBeenSet; }
42 template <typename SymmetricT = SymmetricEncryptionAttributes>
43 void SetSymmetric(SymmetricT&& value) {
44 m_symmetricHasBeenSet = true;
45 m_symmetric = std::forward<SymmetricT>(value);
46 }
47 template <typename SymmetricT = SymmetricEncryptionAttributes>
49 SetSymmetric(std::forward<SymmetricT>(value));
50 return *this;
51 }
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) {
60 m_dukptHasBeenSet = true;
61 m_dukpt = std::forward<DukptT>(value);
62 }
63 template <typename DukptT = DukptEncryptionAttributes>
65 SetDukpt(std::forward<DukptT>(value));
66 return *this;
67 }
69 private:
71
73 bool m_symmetricHasBeenSet = false;
74 bool m_dukptHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace PaymentCryptographyData
79} // 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