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/ImportKeyMaterial.h>
12#include <aws/payment-cryptography/model/KeyCheckValueAlgorithm.h>
13#include <aws/payment-cryptography/model/Tag.h>
18namespace PaymentCryptography {
44 template <
typename KeyMaterialT = ImportKeyMaterial>
46 m_keyMaterialHasBeenSet =
true;
47 m_keyMaterial = std::forward<KeyMaterialT>(value);
49 template <
typename KeyMaterialT = ImportKeyMaterial>
69 m_keyCheckValueAlgorithmHasBeenSet =
true;
70 m_keyCheckValueAlgorithm = value;
85 m_enabledHasBeenSet =
true;
113 template <
typename TagsT = Aws::Vector<Tag>>
115 m_tagsHasBeenSet =
true;
116 m_tags = std::forward<TagsT>(value);
118 template <
typename TagsT = Aws::Vector<Tag>>
120 SetTags(std::forward<TagsT>(value));
123 template <
typename TagsT = Tag>
125 m_tagsHasBeenSet =
true;
126 m_tags.emplace_back(std::forward<TagsT>(value));
135 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
137 m_replicationRegionsHasBeenSet =
true;
138 m_replicationRegions = std::forward<ReplicationRegionsT>(value);
140 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
145 template <
typename ReplicationRegionsT = Aws::String>
147 m_replicationRegionsHasBeenSet =
true;
148 m_replicationRegions.emplace_back(std::forward<ReplicationRegionsT>(value));
157 bool m_enabled{
false};
162 bool m_keyMaterialHasBeenSet =
false;
163 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
164 bool m_enabledHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
166 bool m_replicationRegionsHasBeenSet =
false;
bool EnabledHasBeenSet() const
void SetReplicationRegions(ReplicationRegionsT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetReplicationRegions() const
bool ReplicationRegionsHasBeenSet() const
void SetTags(TagsT &&value)
ImportKeyRequest & WithEnabled(bool value)
ImportKeyRequest & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
bool TagsHasBeenSet() const
ImportKeyRequest & AddReplicationRegions(ReplicationRegionsT &&value)
virtual const char * GetServiceRequestName() const override
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
ImportKeyRequest & WithReplicationRegions(ReplicationRegionsT &&value)
const ImportKeyMaterial & GetKeyMaterial() const
void SetEnabled(bool value)
bool KeyCheckValueAlgorithmHasBeenSet() const
ImportKeyRequest & WithTags(TagsT &&value)
bool KeyMaterialHasBeenSet() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportKeyRequest & WithKeyMaterial(KeyMaterialT &&value)
KeyCheckValueAlgorithm GetKeyCheckValueAlgorithm() const
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyRequest()=default
ImportKeyRequest & AddTags(TagsT &&value)
void SetKeyMaterial(KeyMaterialT &&value)
const Aws::Vector< Tag > & GetTags() const
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