7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/kms/KMS_EXPORTS.h>
44 template <
typename KeyIdT = Aws::String>
46 m_keyIdHasBeenSet =
true;
47 m_keyId = std::forward<KeyIdT>(value);
49 template <
typename KeyIdT = Aws::String>
51 SetKeyId(std::forward<KeyIdT>(value));
63 template <
typename PolicyNameT = Aws::String>
65 m_policyNameHasBeenSet =
true;
66 m_policyName = std::forward<PolicyNameT>(value);
68 template <
typename PolicyNameT = Aws::String>
120 template <
typename PolicyT = Aws::String>
122 m_policyHasBeenSet =
true;
123 m_policy = std::forward<PolicyT>(value);
125 template <
typename PolicyT = Aws::String>
148 m_bypassPolicyLockoutSafetyCheckHasBeenSet =
true;
149 m_bypassPolicyLockoutSafetyCheck = value;
163 bool m_bypassPolicyLockoutSafetyCheck{
false};
164 bool m_keyIdHasBeenSet =
false;
165 bool m_policyNameHasBeenSet =
false;
166 bool m_policyHasBeenSet =
false;
167 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool GetBypassPolicyLockoutSafetyCheck() const
bool PolicyHasBeenSet() const
const Aws::String & GetPolicy() const
PutKeyPolicyRequest & WithPolicyName(PolicyNameT &&value)
bool PolicyNameHasBeenSet() const
const Aws::String & GetKeyId() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
void SetKeyId(KeyIdT &&value)
const Aws::String & GetPolicyName() const
void SetPolicyName(PolicyNameT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
AWS_KMS_API PutKeyPolicyRequest()=default
PutKeyPolicyRequest & WithPolicy(PolicyT &&value)
PutKeyPolicyRequest & WithKeyId(KeyIdT &&value)
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
bool KeyIdHasBeenSet() const
void SetPolicy(PolicyT &&value)
virtual const char * GetServiceRequestName() const override
PutKeyPolicyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String