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
47 template<
typename KeyAttributesT = KeyAttributes>
48 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
49 template<
typename KeyAttributesT = KeyAttributes>
59 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
69 template<
typename WrappedKeyCryptogramT = Aws::String>
70 void SetWrappedKeyCryptogram(WrappedKeyCryptogramT&& value) { m_wrappedKeyCryptogramHasBeenSet =
true; m_wrappedKeyCryptogram = std::forward<WrappedKeyCryptogramT>(value); }
71 template<
typename WrappedKeyCryptogramT = Aws::String>
84 template<
typename ImportTokenT = Aws::String>
85 void SetImportToken(ImportTokenT&& value) { m_importTokenHasBeenSet =
true; m_importToken = std::forward<ImportTokenT>(value); }
86 template<
typename ImportTokenT = Aws::String>
102 bool m_keyAttributesHasBeenSet =
false;
104 bool m_exportable{
false};
105 bool m_exportableHasBeenSet =
false;
108 bool m_wrappedKeyCryptogramHasBeenSet =
false;
111 bool m_importTokenHasBeenSet =
false;
114 bool m_wrappingSpecHasBeenSet =
false;
ImportKeyCryptogram & WithExportable(bool value)
bool ExportableHasBeenSet() const
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWrappedKeyCryptogram(WrappedKeyCryptogramT &&value)
void SetExportable(bool value)
WrappingKeySpec GetWrappingSpec() const
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue)
void SetKeyAttributes(KeyAttributesT &&value)
const Aws::String & GetWrappedKeyCryptogram() const
bool ImportTokenHasBeenSet() const
ImportKeyCryptogram & WithImportToken(ImportTokenT &&value)
bool WrappedKeyCryptogramHasBeenSet() const
bool KeyAttributesHasBeenSet() const
ImportKeyCryptogram & WithWrappingSpec(WrappingKeySpec value)
ImportKeyCryptogram & WithKeyAttributes(KeyAttributesT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetImportToken() const
bool GetExportable() const
void SetWrappingSpec(WrappingKeySpec value)
bool WrappingSpecHasBeenSet() const
void SetImportToken(ImportTokenT &&value)
const KeyAttributes & GetKeyAttributes() const
ImportKeyCryptogram & WithWrappedKeyCryptogram(WrappedKeyCryptogramT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyCryptogram()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue