7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
10#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
11#include <aws/payment-cryptography/model/DeriveKeyUsage.h>
12#include <aws/payment-cryptography/model/KeyAttributes.h>
13#include <aws/payment-cryptography/model/KeyCheckValueAlgorithm.h>
14#include <aws/payment-cryptography/model/Tag.h>
19namespace PaymentCryptography {
46 template <
typename KeyAttributesT = KeyAttributes>
48 m_keyAttributesHasBeenSet =
true;
49 m_keyAttributes = std::forward<KeyAttributesT>(value);
51 template <
typename KeyAttributesT = KeyAttributes>
71 m_keyCheckValueAlgorithmHasBeenSet =
true;
72 m_keyCheckValueAlgorithm = value;
87 m_exportableHasBeenSet =
true;
105 m_enabledHasBeenSet =
true;
131 template <
typename TagsT = Aws::Vector<Tag>>
133 m_tagsHasBeenSet =
true;
134 m_tags = std::forward<TagsT>(value);
136 template <
typename TagsT = Aws::Vector<Tag>>
138 SetTags(std::forward<TagsT>(value));
141 template <
typename TagsT = Tag>
143 m_tagsHasBeenSet =
true;
144 m_tags.emplace_back(std::forward<TagsT>(value));
158 m_deriveKeyUsageHasBeenSet =
true;
159 m_deriveKeyUsage = value;
171 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
173 m_replicationRegionsHasBeenSet =
true;
174 m_replicationRegions = std::forward<ReplicationRegionsT>(value);
176 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
181 template <
typename ReplicationRegionsT = Aws::String>
183 m_replicationRegionsHasBeenSet =
true;
184 m_replicationRegions.emplace_back(std::forward<ReplicationRegionsT>(value));
193 bool m_exportable{
false};
195 bool m_enabled{
false};
202 bool m_keyAttributesHasBeenSet =
false;
203 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
204 bool m_exportableHasBeenSet =
false;
205 bool m_enabledHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
207 bool m_deriveKeyUsageHasBeenSet =
false;
208 bool m_replicationRegionsHasBeenSet =
false;
CreateKeyRequest & WithTags(TagsT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetReplicationRegions() const
void SetEnabled(bool value)
CreateKeyRequest & WithReplicationRegions(ReplicationRegionsT &&value)
void SetReplicationRegions(ReplicationRegionsT &&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
CreateKeyRequest & AddReplicationRegions(ReplicationRegionsT &&value)
bool ReplicationRegionsHasBeenSet() 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