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/core/utils/memory/stl/AWSVector.h>
11#include <aws/kms/model/Tag.h>
55 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
93 inline void SetReplicaRegion(
const char* value) { m_replicaRegionHasBeenSet =
true; m_replicaRegion.assign(value); }
140 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
179 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
224 bool m_keyIdHasBeenSet =
false;
227 bool m_replicaRegionHasBeenSet =
false;
230 bool m_policyHasBeenSet =
false;
232 bool m_bypassPolicyLockoutSafetyCheck;
233 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
void SetTags(const Aws::Vector< Tag > &value)
void SetReplicaRegion(const char *value)
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
ReplicateKeyRequest & WithReplicaRegion(Aws::String &&value)
ReplicateKeyRequest & AddTags(Tag &&value)
AWS_KMS_API ReplicateKeyRequest()
void SetPolicy(const Aws::String &value)
ReplicateKeyRequest & WithPolicy(Aws::String &&value)
ReplicateKeyRequest & WithReplicaRegion(const Aws::String &value)
ReplicateKeyRequest & WithDescription(const char *value)
void SetKeyId(const char *value)
const Aws::String & GetReplicaRegion() const
ReplicateKeyRequest & AddTags(const Tag &value)
AWS_KMS_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
bool GetBypassPolicyLockoutSafetyCheck() const
void SetReplicaRegion(const Aws::String &value)
ReplicateKeyRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDescription() const
ReplicateKeyRequest & WithDescription(Aws::String &&value)
void SetPolicy(const char *value)
ReplicateKeyRequest & WithDescription(const Aws::String &value)
const Aws::String & GetPolicy() const
bool PolicyHasBeenSet() const
void SetKeyId(Aws::String &&value)
const Aws::String & GetKeyId() const
ReplicateKeyRequest & WithReplicaRegion(const char *value)
void SetKeyId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
void SetDescription(const Aws::String &value)
ReplicateKeyRequest & WithPolicy(const char *value)
ReplicateKeyRequest & WithKeyId(Aws::String &&value)
bool ReplicaRegionHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
bool KeyIdHasBeenSet() const
void SetReplicaRegion(Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ReplicateKeyRequest & WithTags(const Aws::Vector< Tag > &value)
ReplicateKeyRequest & WithKeyId(const char *value)
ReplicateKeyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
ReplicateKeyRequest & WithKeyId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ReplicateKeyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(Aws::String &&value)
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