7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/model/KeyAttributes.h>
10#include <aws/payment-cryptography/model/KeyCheckValueAlgorithm.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/payment-cryptography/model/DeriveKeyUsage.h>
13#include <aws/payment-cryptography/model/Tag.h>
18namespace PaymentCryptography
49 template<
typename KeyAttributesT = KeyAttributes>
50 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
51 template<
typename KeyAttributesT = KeyAttributes>
77 inline void SetExportable(
bool value) { m_exportableHasBeenSet =
true; m_exportable = value; }
89 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
110 template<
typename TagsT = Aws::Vector<Tag>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Vector<Tag>>
114 template<
typename TagsT = Tag>
115 CreateKeyRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
132 bool m_keyAttributesHasBeenSet =
false;
135 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
137 bool m_exportable{
false};
138 bool m_exportableHasBeenSet =
false;
140 bool m_enabled{
false};
141 bool m_enabledHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
147 bool m_deriveKeyUsageHasBeenSet =
false;
CreateKeyRequest & WithTags(TagsT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEnabled(bool value)
void SetKeyAttributes(KeyAttributesT &&value)
CreateKeyRequest & WithEnabled(bool value)
CreateKeyRequest & WithKeyAttributes(KeyAttributesT &&value)
void SetDeriveKeyUsage(DeriveKeyUsage value)
const Aws::Vector< Tag > & GetTags() const
bool GetExportable() const
bool KeyAttributesHasBeenSet() const
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
void SetTags(TagsT &&value)
CreateKeyRequest & AddTags(TagsT &&value)
CreateKeyRequest & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
DeriveKeyUsage GetDeriveKeyUsage() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
bool DeriveKeyUsageHasBeenSet() const
CreateKeyRequest & WithDeriveKeyUsage(DeriveKeyUsage value)
bool ExportableHasBeenSet() const
const KeyAttributes & GetKeyAttributes() const
bool TagsHasBeenSet() const
void SetExportable(bool value)
KeyCheckValueAlgorithm GetKeyCheckValueAlgorithm() const
bool KeyCheckValueAlgorithmHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_PAYMENTCRYPTOGRAPHY_API CreateKeyRequest()=default
bool EnabledHasBeenSet() const
CreateKeyRequest & WithExportable(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector