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/WrappingKeySpec.h>
21namespace PaymentCryptography {
41 template <
typename KeyAttributesT = KeyAttributes>
43 m_keyAttributesHasBeenSet =
true;
44 m_keyAttributes = std::forward<KeyAttributesT>(value);
46 template <
typename KeyAttributesT = KeyAttributes>
60 m_exportableHasBeenSet =
true;
75 template <
typename WrappedKeyCryptogramT = Aws::String>
77 m_wrappedKeyCryptogramHasBeenSet =
true;
78 m_wrappedKeyCryptogram = std::forward<WrappedKeyCryptogramT>(value);
80 template <
typename WrappedKeyCryptogramT = Aws::String>
96 template <
typename ImportTokenT = Aws::String>
98 m_importTokenHasBeenSet =
true;
99 m_importToken = std::forward<ImportTokenT>(value);
101 template <
typename ImportTokenT = Aws::String>
115 m_wrappingSpecHasBeenSet =
true;
116 m_wrappingSpec = value;
126 bool m_exportable{
false};
133 bool m_keyAttributesHasBeenSet =
false;
134 bool m_exportableHasBeenSet =
false;
135 bool m_wrappedKeyCryptogramHasBeenSet =
false;
136 bool m_importTokenHasBeenSet =
false;
137 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