7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/KeyAlgorithm.h>
9#include <aws/payment-cryptography/model/KeyClass.h>
10#include <aws/payment-cryptography/model/KeyModesOfUse.h>
11#include <aws/payment-cryptography/model/KeyUsage.h>
22namespace PaymentCryptography {
47 m_keyUsageHasBeenSet =
true;
66 m_keyClassHasBeenSet =
true;
86 m_keyAlgorithmHasBeenSet =
true;
87 m_keyAlgorithm = value;
101 template <
typename KeyModesOfUseT = KeyModesOfUse>
103 m_keyModesOfUseHasBeenSet =
true;
104 m_keyModesOfUse = std::forward<KeyModesOfUseT>(value);
106 template <
typename KeyModesOfUseT = KeyModesOfUse>
119 KeyModesOfUse m_keyModesOfUse;
120 bool m_keyUsageHasBeenSet =
false;
121 bool m_keyClassHasBeenSet =
false;
122 bool m_keyAlgorithmHasBeenSet =
false;
123 bool m_keyModesOfUseHasBeenSet =
false;
void SetKeyUsage(KeyUsage value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyAttributes()=default
bool KeyAlgorithmHasBeenSet() const
KeyAttributes & WithKeyClass(KeyClass value)
KeyAlgorithm GetKeyAlgorithm() const
KeyClass GetKeyClass() const
bool KeyUsageHasBeenSet() const
void SetKeyModesOfUse(KeyModesOfUseT &&value)
KeyAttributes & WithKeyAlgorithm(KeyAlgorithm value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyAttributes(Aws::Utils::Json::JsonView jsonValue)
KeyAttributes & WithKeyUsage(KeyUsage value)
bool KeyModesOfUseHasBeenSet() const
bool KeyClassHasBeenSet() const
const KeyModesOfUse & GetKeyModesOfUse() const
void SetKeyClass(KeyClass value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHY_API KeyAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
KeyUsage GetKeyUsage() const
KeyAttributes & WithKeyModesOfUse(KeyModesOfUseT &&value)
void SetKeyAlgorithm(KeyAlgorithm value)
Aws::Utils::Json::JsonValue JsonValue