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>
53 template<
typename KeyIdT = Aws::String>
54 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
55 template<
typename KeyIdT = Aws::String>
82 template<
typename ReplicaRegionT = Aws::String>
83 void SetReplicaRegion(ReplicaRegionT&& value) { m_replicaRegionHasBeenSet =
true; m_replicaRegion = std::forward<ReplicaRegionT>(value); }
84 template<
typename ReplicaRegionT = Aws::String>
127 template<
typename PolicyT = Aws::String>
128 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
129 template<
typename PolicyT = Aws::String>
164 template<
typename DescriptionT = Aws::String>
165 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
166 template<
typename DescriptionT = Aws::String>
199 template<
typename TagsT = Aws::Vector<Tag>>
200 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
201 template<
typename TagsT = Aws::Vector<Tag>>
203 template<
typename TagsT = Tag>
209 bool m_keyIdHasBeenSet =
false;
212 bool m_replicaRegionHasBeenSet =
false;
215 bool m_policyHasBeenSet =
false;
217 bool m_bypassPolicyLockoutSafetyCheck{
false};
218 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
bool DescriptionHasBeenSet() const
ReplicateKeyRequest & AddTags(TagsT &&value)
ReplicateKeyRequest & WithKeyId(KeyIdT &&value)
void SetKeyId(KeyIdT &&value)
const Aws::String & GetReplicaRegion() const
AWS_KMS_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
ReplicateKeyRequest & WithTags(TagsT &&value)
void SetPolicy(PolicyT &&value)
ReplicateKeyRequest & WithPolicy(PolicyT &&value)
bool GetBypassPolicyLockoutSafetyCheck() const
ReplicateKeyRequest & WithReplicaRegion(ReplicaRegionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetPolicy() const
bool PolicyHasBeenSet() const
const Aws::String & GetKeyId() const
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
AWS_KMS_API ReplicateKeyRequest()=default
void SetDescription(DescriptionT &&value)
bool ReplicaRegionHasBeenSet() const
ReplicateKeyRequest & WithDescription(DescriptionT &&value)
bool KeyIdHasBeenSet() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ReplicateKeyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
virtual const char * GetServiceRequestName() const override
void SetReplicaRegion(ReplicaRegionT &&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