7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename KeyIdT = Aws::String>
49 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
50 template<
typename KeyIdT = Aws::String>
61 template<
typename PolicyNameT = Aws::String>
62 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
63 template<
typename PolicyNameT = Aws::String>
112 template<
typename PolicyT = Aws::String>
113 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
114 template<
typename PolicyT = Aws::String>
139 bool m_keyIdHasBeenSet =
false;
142 bool m_policyNameHasBeenSet =
false;
145 bool m_policyHasBeenSet =
false;
147 bool m_bypassPolicyLockoutSafetyCheck{
false};
148 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