7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/model/ImportKeyMaterial.h>
10#include <aws/payment-cryptography/model/KeyCheckValueAlgorithm.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/payment-cryptography/model/Tag.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace PaymentCryptography
48 template<
typename KeyMaterialT = ImportKeyMaterial>
49 void SetKeyMaterial(KeyMaterialT&& value) { m_keyMaterialHasBeenSet =
true; m_keyMaterial = std::forward<KeyMaterialT>(value); }
50 template<
typename KeyMaterialT = ImportKeyMaterial>
76 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
99 template<
typename TagsT = Aws::Vector<Tag>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Vector<Tag>>
103 template<
typename TagsT = Tag>
104 ImportKeyRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
111 template<
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
112 void SetReplicationRegions(ReplicationRegionsT&& value) { m_replicationRegionsHasBeenSet =
true; m_replicationRegions = std::forward<ReplicationRegionsT>(value); }
113 template<
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
115 template<
typename ReplicationRegionsT = Aws::String>
116 ImportKeyRequest&
AddReplicationRegions(ReplicationRegionsT&& value) { m_replicationRegionsHasBeenSet =
true; m_replicationRegions.emplace_back(std::forward<ReplicationRegionsT>(value));
return *
this; }
121 bool m_keyMaterialHasBeenSet =
false;
124 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
126 bool m_enabled{
false};
127 bool m_enabledHasBeenSet =
false;
130 bool m_tagsHasBeenSet =
false;
133 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