7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/KeyUsage.h>
9#include <aws/payment-cryptography/model/KeyClass.h>
10#include <aws/payment-cryptography/model/KeyAlgorithm.h>
11#include <aws/payment-cryptography/model/KeyModesOfUse.h>
24namespace PaymentCryptography
89 template<
typename KeyModesOfUseT = KeyModesOfUse>
90 void SetKeyModesOfUse(KeyModesOfUseT&& value) { m_keyModesOfUseHasBeenSet =
true; m_keyModesOfUse = std::forward<KeyModesOfUseT>(value); }
91 template<
typename KeyModesOfUseT = KeyModesOfUse>
97 bool m_keyUsageHasBeenSet =
false;
100 bool m_keyClassHasBeenSet =
false;
103 bool m_keyAlgorithmHasBeenSet =
false;
105 KeyModesOfUse m_keyModesOfUse;
106 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