7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/model/KeyState.h>
10#include <aws/payment-cryptography/model/KeyAttributes.h>
23namespace PaymentCryptography
49 template<
typename KeyArnT = Aws::String>
50 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet =
true; m_keyArn = std::forward<KeyArnT>(value); }
51 template<
typename KeyArnT = Aws::String>
74 template<
typename KeyAttributesT = KeyAttributes>
75 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
76 template<
typename KeyAttributesT = KeyAttributes>
87 template<
typename KeyCheckValueT = Aws::String>
88 void SetKeyCheckValue(KeyCheckValueT&& value) { m_keyCheckValueHasBeenSet =
true; m_keyCheckValue = std::forward<KeyCheckValueT>(value); }
89 template<
typename KeyCheckValueT = Aws::String>
100 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
110 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
116 bool m_keyArnHasBeenSet =
false;
119 bool m_keyStateHasBeenSet =
false;
121 KeyAttributes m_keyAttributes;
122 bool m_keyAttributesHasBeenSet =
false;
125 bool m_keyCheckValueHasBeenSet =
false;
127 bool m_exportable{
false};
128 bool m_exportableHasBeenSet =
false;
130 bool m_enabled{
false};
131 bool m_enabledHasBeenSet =
false;
KeySummary & WithKeyAttributes(KeyAttributesT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKeyCheckValue() const
bool KeyStateHasBeenSet() const
KeySummary & WithEnabled(bool value)
bool ExportableHasBeenSet() const
bool GetExportable() const
bool KeyArnHasBeenSet() const
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary()=default
void SetEnabled(bool value)
const KeyAttributes & GetKeyAttributes() const
KeySummary & WithKeyCheckValue(KeyCheckValueT &&value)
void SetKeyArn(KeyArnT &&value)
void SetKeyState(KeyState value)
KeySummary & WithExportable(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyAttributes(KeyAttributesT &&value)
void SetExportable(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
bool KeyCheckValueHasBeenSet() const
const Aws::String & GetKeyArn() const
void SetKeyCheckValue(KeyCheckValueT &&value)
KeySummary & WithKeyArn(KeyArnT &&value)
bool KeyAttributesHasBeenSet() const
KeySummary & WithKeyState(KeyState value)
KeyState GetKeyState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue