7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/model/KeyAttributes.h>
10#include <aws/payment-cryptography/model/KeyCheckValueAlgorithm.h>
11#include <aws/payment-cryptography/model/KeyState.h>
12#include <aws/payment-cryptography/model/KeyOrigin.h>
13#include <aws/core/utils/DateTime.h>
26namespace PaymentCryptography
40 AWS_PAYMENTCRYPTOGRAPHY_API
Key();
54 inline void SetKeyArn(
const char* value) { m_keyArnHasBeenSet =
true; m_keyArn.assign(value); }
83 inline void SetKeyCheckValue(
const char* value) { m_keyCheckValueHasBeenSet =
true; m_keyCheckValue.assign(value); }
113 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
124 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
224 bool m_keyArnHasBeenSet =
false;
227 bool m_keyAttributesHasBeenSet =
false;
230 bool m_keyCheckValueHasBeenSet =
false;
233 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
236 bool m_enabledHasBeenSet =
false;
239 bool m_exportableHasBeenSet =
false;
242 bool m_keyStateHasBeenSet =
false;
245 bool m_keyOriginHasBeenSet =
false;
248 bool m_createTimestampHasBeenSet =
false;
251 bool m_usageStartTimestampHasBeenSet =
false;
254 bool m_usageStopTimestampHasBeenSet =
false;
257 bool m_deletePendingTimestampHasBeenSet =
false;
260 bool m_deleteTimestampHasBeenSet =
false;
Key & WithDeletePendingTimestamp(const Aws::Utils::DateTime &value)
Key & WithKeyCheckValue(Aws::String &&value)
Key & WithCreateTimestamp(const Aws::Utils::DateTime &value)
AWS_PAYMENTCRYPTOGRAPHY_API Key(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTimestamp() const
bool GetExportable() const
const KeyOrigin & GetKeyOrigin() const
void SetKeyAttributes(const KeyAttributes &value)
void SetEnabled(bool value)
bool ExportableHasBeenSet() const
void SetKeyCheckValue(Aws::String &&value)
bool UsageStartTimestampHasBeenSet() const
Key & WithKeyState(const KeyState &value)
Key & WithEnabled(bool value)
Key & WithUsageStopTimestamp(Aws::Utils::DateTime &&value)
bool EnabledHasBeenSet() const
void SetKeyArn(const char *value)
void SetKeyCheckValue(const char *value)
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
bool DeletePendingTimestampHasBeenSet() const
bool CreateTimestampHasBeenSet() const
bool KeyCheckValueHasBeenSet() const
bool DeleteTimestampHasBeenSet() const
void SetDeleteTimestamp(Aws::Utils::DateTime &&value)
Key & WithDeleteTimestamp(Aws::Utils::DateTime &&value)
bool KeyCheckValueAlgorithmHasBeenSet() const
const Aws::Utils::DateTime & GetDeletePendingTimestamp() const
void SetKeyOrigin(const KeyOrigin &value)
bool UsageStopTimestampHasBeenSet() const
void SetKeyAttributes(KeyAttributes &&value)
bool KeyStateHasBeenSet() const
bool KeyOriginHasBeenSet() const
Key & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm &&value)
const Aws::String & GetKeyArn() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsageStopTimestamp(Aws::Utils::DateTime &&value)
Key & WithKeyOrigin(const KeyOrigin &value)
void SetKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm &value)
const KeyState & GetKeyState() const
void SetKeyArn(Aws::String &&value)
Key & WithKeyAttributes(KeyAttributes &&value)
const Aws::Utils::DateTime & GetUsageStopTimestamp() const
Key & WithKeyAttributes(const KeyAttributes &value)
Key & WithUsageStopTimestamp(const Aws::Utils::DateTime &value)
void SetKeyState(KeyState &&value)
Key & WithDeletePendingTimestamp(Aws::Utils::DateTime &&value)
bool KeyAttributesHasBeenSet() const
void SetCreateTimestamp(Aws::Utils::DateTime &&value)
Key & WithKeyArn(Aws::String &&value)
Key & WithKeyArn(const Aws::String &value)
Key & WithUsageStartTimestamp(Aws::Utils::DateTime &&value)
Key & WithCreateTimestamp(Aws::Utils::DateTime &&value)
void SetDeleteTimestamp(const Aws::Utils::DateTime &value)
Key & WithKeyState(KeyState &&value)
void SetExportable(bool value)
void SetKeyState(const KeyState &value)
void SetKeyArn(const Aws::String &value)
void SetKeyCheckValue(const Aws::String &value)
void SetKeyOrigin(KeyOrigin &&value)
Key & WithKeyCheckValue(const char *value)
Key & WithUsageStartTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetKeyCheckValue() const
const KeyCheckValueAlgorithm & GetKeyCheckValueAlgorithm() const
Key & WithDeleteTimestamp(const Aws::Utils::DateTime &value)
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm &&value)
void SetUsageStartTimestamp(Aws::Utils::DateTime &&value)
const KeyAttributes & GetKeyAttributes() const
void SetDeletePendingTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUsageStartTimestamp() const
void SetUsageStartTimestamp(const Aws::Utils::DateTime &value)
AWS_PAYMENTCRYPTOGRAPHY_API Key()
void SetUsageStopTimestamp(const Aws::Utils::DateTime &value)
AWS_PAYMENTCRYPTOGRAPHY_API Key & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyArnHasBeenSet() const
Key & WithKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm &value)
Key & WithKeyArn(const char *value)
Key & WithExportable(bool value)
Key & WithKeyOrigin(KeyOrigin &&value)
Key & WithKeyCheckValue(const Aws::String &value)
void SetDeletePendingTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeleteTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue