7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/KeyAttributes.h>
10#include <aws/payment-cryptography/model/KeyState.h>
11#include <aws/payment-cryptography/model/MultiRegionKeyType.h>
22namespace PaymentCryptography {
44 template <
typename KeyArnT = Aws::String>
46 m_keyArnHasBeenSet =
true;
47 m_keyArn = std::forward<KeyArnT>(value);
49 template <
typename KeyArnT = Aws::String>
64 m_keyStateHasBeenSet =
true;
81 template <
typename KeyAttributesT = KeyAttributes>
83 m_keyAttributesHasBeenSet =
true;
84 m_keyAttributes = std::forward<KeyAttributesT>(value);
86 template <
typename KeyAttributesT = KeyAttributes>
100 template <
typename KeyCheckValueT = Aws::String>
102 m_keyCheckValueHasBeenSet =
true;
103 m_keyCheckValue = std::forward<KeyCheckValueT>(value);
105 template <
typename KeyCheckValueT = Aws::String>
120 m_exportableHasBeenSet =
true;
121 m_exportable = value;
136 m_enabledHasBeenSet =
true;
159 m_multiRegionKeyTypeHasBeenSet =
true;
160 m_multiRegionKeyType = value;
172 template <
typename PrimaryRegionT = Aws::String>
174 m_primaryRegionHasBeenSet =
true;
175 m_primaryRegion = std::forward<PrimaryRegionT>(value);
177 template <
typename PrimaryRegionT = Aws::String>
188 KeyAttributes m_keyAttributes;
192 bool m_exportable{
false};
194 bool m_enabled{
false};
199 bool m_keyArnHasBeenSet =
false;
200 bool m_keyStateHasBeenSet =
false;
201 bool m_keyAttributesHasBeenSet =
false;
202 bool m_keyCheckValueHasBeenSet =
false;
203 bool m_exportableHasBeenSet =
false;
204 bool m_enabledHasBeenSet =
false;
205 bool m_multiRegionKeyTypeHasBeenSet =
false;
206 bool m_primaryRegionHasBeenSet =
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
KeySummary & WithPrimaryRegion(PrimaryRegionT &&value)
bool KeyArnHasBeenSet() const
bool PrimaryRegionHasBeenSet() const
KeySummary & WithMultiRegionKeyType(MultiRegionKeyType value)
AWS_PAYMENTCRYPTOGRAPHY_API KeySummary()=default
bool MultiRegionKeyTypeHasBeenSet() const
const Aws::String & GetPrimaryRegion() const
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)
void SetMultiRegionKeyType(MultiRegionKeyType 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)
MultiRegionKeyType GetMultiRegionKeyType() const
KeySummary & WithKeyArn(KeyArnT &&value)
bool KeyAttributesHasBeenSet() const
KeySummary & WithKeyState(KeyState value)
KeyState GetKeyState() const
void SetPrimaryRegion(PrimaryRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue