7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/KeyAttributes.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography/model/WrappingKeySpec.h>
23namespace PaymentCryptography
59 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
71 inline void SetWrappedKeyCryptogram(
const char* value) { m_wrappedKeyCryptogramHasBeenSet =
true; m_wrappedKeyCryptogram.assign(value); }
88 inline void SetImportToken(
const char* value) { m_importTokenHasBeenSet =
true; m_importToken.assign(value); }
108 bool m_keyAttributesHasBeenSet =
false;
111 bool m_exportableHasBeenSet =
false;
114 bool m_wrappedKeyCryptogramHasBeenSet =
false;
117 bool m_importTokenHasBeenSet =
false;
120 bool m_wrappingSpecHasBeenSet =
false;
ImportKeyCryptogram & WithWrappingSpec(WrappingKeySpec &&value)
ImportKeyCryptogram & WithExportable(bool value)
bool ExportableHasBeenSet() const
ImportKeyCryptogram & WithImportToken(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportKeyCryptogram & WithWrappedKeyCryptogram(const char *value)
void SetExportable(bool value)
ImportKeyCryptogram & WithImportToken(Aws::String &&value)
void SetImportToken(const char *value)
void SetKeyAttributes(const KeyAttributes &value)
ImportKeyCryptogram & WithWrappedKeyCryptogram(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue)
void SetWrappedKeyCryptogram(const char *value)
ImportKeyCryptogram & WithWrappedKeyCryptogram(const Aws::String &value)
void SetKeyAttributes(KeyAttributes &&value)
void SetImportToken(Aws::String &&value)
void SetWrappingSpec(const WrappingKeySpec &value)
ImportKeyCryptogram & WithKeyAttributes(const KeyAttributes &value)
ImportKeyCryptogram & WithWrappingSpec(const WrappingKeySpec &value)
const Aws::String & GetWrappedKeyCryptogram() const
void SetWrappedKeyCryptogram(const Aws::String &value)
ImportKeyCryptogram & WithKeyAttributes(KeyAttributes &&value)
bool ImportTokenHasBeenSet() const
bool WrappedKeyCryptogramHasBeenSet() const
bool KeyAttributesHasBeenSet() const
void SetImportToken(const Aws::String &value)
void SetWrappingSpec(WrappingKeySpec &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetImportToken() const
bool GetExportable() const
bool WrappingSpecHasBeenSet() const
const KeyAttributes & GetKeyAttributes() const
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram()
ImportKeyCryptogram & WithImportToken(const char *value)
void SetWrappedKeyCryptogram(Aws::String &&value)
const WrappingKeySpec & GetWrappingSpec() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue