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>
17namespace PaymentCryptography
47 template<
typename KeyMaterialT = ImportKeyMaterial>
48 void SetKeyMaterial(KeyMaterialT&& value) { m_keyMaterialHasBeenSet =
true; m_keyMaterial = std::forward<KeyMaterialT>(value); }
49 template<
typename KeyMaterialT = ImportKeyMaterial>
75 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
98 template<
typename TagsT = Aws::Vector<Tag>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
100 template<
typename TagsT = Aws::Vector<Tag>>
102 template<
typename TagsT = Tag>
103 ImportKeyRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
108 bool m_keyMaterialHasBeenSet =
false;
111 bool m_keyCheckValueAlgorithmHasBeenSet =
false;
113 bool m_enabled{
false};
114 bool m_enabledHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
bool EnabledHasBeenSet() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
ImportKeyRequest & WithEnabled(bool value)
ImportKeyRequest & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm 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