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>
74 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
93 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
174 inline void SetKeySpec(
KeySpec&& value) { m_keySpecHasBeenSet =
true; m_keySpec = std::move(value); }
232 inline void SetCustomKeyStoreId(
const char* value) { m_customKeyStoreIdHasBeenSet =
true; m_customKeyStoreId.assign(value); }
315 inline void SetMultiRegion(
bool value) { m_multiRegionHasBeenSet =
true; m_multiRegion = value; }
353 inline void SetXksKeyId(
const char* value) { m_xksKeyIdHasBeenSet =
true; m_xksKeyId.assign(value); }
361 bool m_policyHasBeenSet =
false;
364 bool m_descriptionHasBeenSet =
false;
367 bool m_keyUsageHasBeenSet =
false;
370 bool m_keySpecHasBeenSet =
false;
373 bool m_originHasBeenSet =
false;
376 bool m_customKeyStoreIdHasBeenSet =
false;
378 bool m_bypassPolicyLockoutSafetyCheck;
379 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
382 bool m_tagsHasBeenSet =
false;
385 bool m_multiRegionHasBeenSet =
false;
388 bool m_xksKeyIdHasBeenSet =
false;
CreateKeyRequest & WithOrigin(OriginType &&value)
void SetPolicy(const Aws::String &value)
void SetKeyUsage(KeyUsageType &&value)
CreateKeyRequest & WithCustomKeyStoreId(const Aws::String &value)
void SetKeySpec(KeySpec &&value)
bool KeyUsageHasBeenSet() const
const Aws::String & GetCustomKeyStoreId() const
CreateKeyRequest & WithCustomKeyStoreId(Aws::String &&value)
const KeyUsageType & GetKeyUsage() const
void SetDescription(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetXksKeyId(const char *value)
void SetCustomKeyStoreId(const Aws::String &value)
void SetPolicy(Aws::String &&value)
bool GetBypassPolicyLockoutSafetyCheck() const
void SetCustomKeyStoreId(const char *value)
CreateKeyRequest & WithPolicy(Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateKeyRequest & WithOrigin(const OriginType &value)
void SetDescription(Aws::String &&value)
CreateKeyRequest & WithKeyUsage(const KeyUsageType &value)
CreateKeyRequest & WithXksKeyId(const Aws::String &value)
bool KeySpecHasBeenSet() const
CreateKeyRequest & WithTags(Aws::Vector< Tag > &&value)
CreateKeyRequest & WithXksKeyId(Aws::String &&value)
const Aws::String & GetXksKeyId() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
bool XksKeyIdHasBeenSet() const
CreateKeyRequest & WithDescription(const char *value)
CreateKeyRequest & AddTags(const Tag &value)
bool CustomKeyStoreIdHasBeenSet() const
void SetMultiRegion(bool value)
CreateKeyRequest & WithPolicy(const char *value)
void SetBypassPolicyLockoutSafetyCheck(bool value)
void SetXksKeyId(Aws::String &&value)
bool MultiRegionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicy() const
bool DescriptionHasBeenSet() const
bool PolicyHasBeenSet() const
AWS_KMS_API Aws::String SerializePayload() const override
CreateKeyRequest & WithCustomKeyStoreId(const char *value)
CreateKeyRequest & WithXksKeyId(const char *value)
CreateKeyRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
CreateKeyRequest & WithDescription(const Aws::String &value)
bool OriginHasBeenSet() const
void SetOrigin(const OriginType &value)
const Aws::String & GetDescription() const
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
void SetCustomKeyStoreId(Aws::String &&value)
const OriginType & GetOrigin() const
void SetKeyUsage(const KeyUsageType &value)
void SetKeySpec(const KeySpec &value)
CreateKeyRequest & WithTags(const Aws::Vector< Tag > &value)
CreateKeyRequest & WithPolicy(const Aws::String &value)
bool GetMultiRegion() const
CreateKeyRequest & AddTags(Tag &&value)
CreateKeyRequest & WithKeySpec(const KeySpec &value)
CreateKeyRequest & WithKeyUsage(KeyUsageType &&value)
const KeySpec & GetKeySpec() const
CreateKeyRequest & WithMultiRegion(bool value)
void SetOrigin(OriginType &&value)
CreateKeyRequest & WithKeySpec(KeySpec &&value)
CreateKeyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
bool TagsHasBeenSet() const
void SetPolicy(const char *value)
void SetXksKeyId(const Aws::String &value)
AWS_KMS_API CreateKeyRequest()
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