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/Tag.h>
49 template <
typename KeyIdT = Aws::String>
51 m_keyIdHasBeenSet =
true;
52 m_keyId = std::forward<KeyIdT>(value);
54 template <
typename KeyIdT = Aws::String>
56 SetKeyId(std::forward<KeyIdT>(value));
84 template <
typename ReplicaRegionT = Aws::String>
86 m_replicaRegionHasBeenSet =
true;
87 m_replicaRegion = std::forward<ReplicaRegionT>(value);
89 template <
typename ReplicaRegionT = Aws::String>
135 template <
typename PolicyT = Aws::String>
137 m_policyHasBeenSet =
true;
138 m_policy = std::forward<PolicyT>(value);
140 template <
typename PolicyT = Aws::String>
163 m_bypassPolicyLockoutSafetyCheckHasBeenSet =
true;
164 m_bypassPolicyLockoutSafetyCheck = value;
184 template <
typename DescriptionT = Aws::String>
186 m_descriptionHasBeenSet =
true;
187 m_description = std::forward<DescriptionT>(value);
189 template <
typename DescriptionT = Aws::String>
225 template <
typename TagsT = Aws::Vector<Tag>>
227 m_tagsHasBeenSet =
true;
228 m_tags = std::forward<TagsT>(value);
230 template <
typename TagsT = Aws::Vector<Tag>>
232 SetTags(std::forward<TagsT>(value));
235 template <
typename TagsT = Tag>
237 m_tagsHasBeenSet =
true;
238 m_tags.emplace_back(std::forward<TagsT>(value));
249 bool m_bypassPolicyLockoutSafetyCheck{
false};
254 bool m_keyIdHasBeenSet =
false;
255 bool m_replicaRegionHasBeenSet =
false;
256 bool m_policyHasBeenSet =
false;
257 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
258 bool m_descriptionHasBeenSet =
false;
259 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