7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/KeyUsageType.h>
11#include <aws/kms/model/KeySpec.h>
12#include <aws/kms/model/OriginType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/kms/model/Tag.h>
81 template<
typename PolicyT = Aws::String>
82 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
83 template<
typename PolicyT = Aws::String>
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
235 template<
typename CustomKeyStoreIdT = Aws::String>
236 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet =
true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
237 template<
typename CustomKeyStoreIdT = Aws::String>
286 template<
typename TagsT = Aws::Vector<Tag>>
287 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
288 template<
typename TagsT = Aws::Vector<Tag>>
290 template<
typename TagsT = Tag>
291 CreateKeyRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
318 inline void SetMultiRegion(
bool value) { m_multiRegionHasBeenSet =
true; m_multiRegion = value; }
354 template<
typename XksKeyIdT = Aws::String>
355 void SetXksKeyId(XksKeyIdT&& value) { m_xksKeyIdHasBeenSet =
true; m_xksKeyId = std::forward<XksKeyIdT>(value); }
356 template<
typename XksKeyIdT = Aws::String>
362 bool m_policyHasBeenSet =
false;
365 bool m_descriptionHasBeenSet =
false;
368 bool m_keyUsageHasBeenSet =
false;
371 bool m_keySpecHasBeenSet =
false;
374 bool m_originHasBeenSet =
false;
377 bool m_customKeyStoreIdHasBeenSet =
false;
379 bool m_bypassPolicyLockoutSafetyCheck{
false};
380 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
383 bool m_tagsHasBeenSet =
false;
385 bool m_multiRegion{
false};
386 bool m_multiRegionHasBeenSet =
false;
389 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