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>
11#include <aws/payment-cryptography/model/MultiRegionKeyType.h>
24namespace PaymentCryptography
50 template<
typename KeyArnT = Aws::String>
51 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet =
true; m_keyArn = std::forward<KeyArnT>(value); }
52 template<
typename KeyArnT = Aws::String>
75 template<
typename KeyAttributesT = KeyAttributes>
76 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
77 template<
typename KeyAttributesT = KeyAttributes>
88 template<
typename KeyCheckValueT = Aws::String>
89 void SetKeyCheckValue(KeyCheckValueT&& value) { m_keyCheckValueHasBeenSet =
true; m_keyCheckValue = std::forward<KeyCheckValueT>(value); }
90 template<
typename KeyCheckValueT = Aws::String>
101 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
111 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
127 template<
typename PrimaryRegionT = Aws::String>
128 void SetPrimaryRegion(PrimaryRegionT&& value) { m_primaryRegionHasBeenSet =
true; m_primaryRegion = std::forward<PrimaryRegionT>(value); }
129 template<
typename PrimaryRegionT = Aws::String>
135 bool m_keyArnHasBeenSet =
false;
138 bool m_keyStateHasBeenSet =
false;
140 KeyAttributes m_keyAttributes;
141 bool m_keyAttributesHasBeenSet =
false;
144 bool m_keyCheckValueHasBeenSet =
false;
146 bool m_exportable{
false};
147 bool m_exportableHasBeenSet =
false;
149 bool m_enabled{
false};
150 bool m_enabledHasBeenSet =
false;
153 bool m_multiRegionKeyTypeHasBeenSet =
false;
156 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