7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kms/KMSRequest.h>
10#include <aws/kms/KMS_EXPORTS.h>
11#include <aws/kms/model/KeySpec.h>
12#include <aws/kms/model/KeyUsageType.h>
13#include <aws/kms/model/OriginType.h>
14#include <aws/kms/model/Tag.h>
77 template <
typename PolicyT = Aws::String>
79 m_policyHasBeenSet =
true;
80 m_policy = std::forward<PolicyT>(value);
82 template <
typename PolicyT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
141 m_keyUsageHasBeenSet =
true;
209 m_keySpecHasBeenSet =
true;
247 m_originHasBeenSet =
true;
273 template <
typename CustomKeyStoreIdT = Aws::String>
275 m_customKeyStoreIdHasBeenSet =
true;
276 m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value);
278 template <
typename CustomKeyStoreIdT = Aws::String>
301 m_bypassPolicyLockoutSafetyCheckHasBeenSet =
true;
302 m_bypassPolicyLockoutSafetyCheck = value;
336 template <
typename TagsT = Aws::Vector<Tag>>
338 m_tagsHasBeenSet =
true;
339 m_tags = std::forward<TagsT>(value);
341 template <
typename TagsT = Aws::Vector<Tag>>
343 SetTags(std::forward<TagsT>(value));
346 template <
typename TagsT = Tag>
348 m_tagsHasBeenSet =
true;
349 m_tags.emplace_back(std::forward<TagsT>(value));
379 m_multiRegionHasBeenSet =
true;
380 m_multiRegion = value;
420 template <
typename XksKeyIdT = Aws::String>
422 m_xksKeyIdHasBeenSet =
true;
423 m_xksKeyId = std::forward<XksKeyIdT>(value);
425 template <
typename XksKeyIdT = Aws::String>
444 bool m_bypassPolicyLockoutSafetyCheck{
false};
448 bool m_multiRegion{
false};
451 bool m_policyHasBeenSet =
false;
452 bool m_descriptionHasBeenSet =
false;
453 bool m_keyUsageHasBeenSet =
false;
454 bool m_keySpecHasBeenSet =
false;
455 bool m_originHasBeenSet =
false;
456 bool m_customKeyStoreIdHasBeenSet =
false;
457 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
458 bool m_tagsHasBeenSet =
false;
459 bool m_multiRegionHasBeenSet =
false;
460 bool m_xksKeyIdHasBeenSet =
false;
bool KeyUsageHasBeenSet() const
const Aws::String & GetCustomKeyStoreId() const
void SetPolicy(PolicyT &&value)
CreateKeyRequest & WithXksKeyId(XksKeyIdT &&value)
void SetOrigin(OriginType value)
void SetKeyUsage(KeyUsageType value)
bool GetBypassPolicyLockoutSafetyCheck() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API CreateKeyRequest()=default
bool KeySpecHasBeenSet() const
const Aws::String & GetXksKeyId() const
const Aws::Vector< Tag > & GetTags() const
bool XksKeyIdHasBeenSet() const
CreateKeyRequest & WithDescription(DescriptionT &&value)
CreateKeyRequest & AddTags(TagsT &&value)
bool CustomKeyStoreIdHasBeenSet() const
void SetMultiRegion(bool value)
OriginType GetOrigin() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
bool MultiRegionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicy() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
bool PolicyHasBeenSet() const
AWS_KMS_API Aws::String SerializePayload() const override
KeySpec GetKeySpec() const
CreateKeyRequest & WithKeySpec(KeySpec value)
bool OriginHasBeenSet() const
const Aws::String & GetDescription() const
CreateKeyRequest & WithCustomKeyStoreId(CustomKeyStoreIdT &&value)
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
KeyUsageType GetKeyUsage() const
CreateKeyRequest & WithOrigin(OriginType value)
CreateKeyRequest & WithPolicy(PolicyT &&value)
bool GetMultiRegion() const
CreateKeyRequest & WithKeyUsage(KeyUsageType value)
void SetXksKeyId(XksKeyIdT &&value)
void SetKeySpec(KeySpec value)
void SetCustomKeyStoreId(CustomKeyStoreIdT &&value)
void SetDescription(DescriptionT &&value)
CreateKeyRequest & WithMultiRegion(bool value)
CreateKeyRequest & WithTags(TagsT &&value)
CreateKeyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
bool TagsHasBeenSet() 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