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
51 inline void SetKeyArn(
const char* value) { m_keyArnHasBeenSet =
true; m_keyArn.assign(value); }
65 inline void SetKeyState(
KeyState&& value) { m_keyStateHasBeenSet =
true; m_keyState = std::move(value); }
93 inline void SetKeyCheckValue(
const char* value) { m_keyCheckValueHasBeenSet =
true; m_keyCheckValue.assign(value); }
106 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
116 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
122 bool m_keyArnHasBeenSet =
false;
125 bool m_keyStateHasBeenSet =
false;
128 bool m_keyAttributesHasBeenSet =
false;
131 bool m_keyCheckValueHasBeenSet =
false;
134 bool m_exportableHasBeenSet =
false;
137 bool m_enabledHasBeenSet =
false;
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary()
KeySummary & WithKeyAttributes(KeyAttributes &&value)
void SetKeyArn(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyArn(Aws::String &&value)
const Aws::String & GetKeyCheckValue() const
const KeyState & GetKeyState() const
bool KeyStateHasBeenSet() const
KeySummary & WithEnabled(bool value)
bool ExportableHasBeenSet() const
KeySummary & WithKeyArn(const char *value)
bool GetExportable() const
bool KeyArnHasBeenSet() const
KeySummary & WithKeyState(KeyState &&value)
void SetKeyCheckValue(const Aws::String &value)
KeySummary & WithKeyCheckValue(const char *value)
void SetKeyCheckValue(Aws::String &&value)
KeySummary & WithKeyArn(const Aws::String &value)
KeySummary & WithKeyAttributes(const KeyAttributes &value)
void SetEnabled(bool value)
const KeyAttributes & GetKeyAttributes() const
void SetKeyAttributes(KeyAttributes &&value)
void SetKeyState(const KeyState &value)
KeySummary & WithExportable(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyArn(const char *value)
KeySummary & WithKeyCheckValue(Aws::String &&value)
KeySummary & WithKeyCheckValue(const Aws::String &value)
void SetKeyCheckValue(const char *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
KeySummary & WithKeyArn(Aws::String &&value)
KeySummary & WithKeyState(const KeyState &value)
void SetKeyState(KeyState &&value)
void SetKeyAttributes(const KeyAttributes &value)
bool KeyAttributesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue