7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
65 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
107 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
134 bool m_keyIdHasBeenSet =
false;
137 bool m_policyNameHasBeenSet =
false;
140 bool m_policyHasBeenSet =
false;
142 bool m_bypassPolicyLockoutSafetyCheck;
143 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutKeyPolicyRequest & WithKeyId(const char *value)
void SetKeyId(Aws::String &&value)
void SetPolicy(const char *value)
PutKeyPolicyRequest & WithPolicyName(Aws::String &&value)
AWS_KMS_API PutKeyPolicyRequest()
PutKeyPolicyRequest & WithKeyId(Aws::String &&value)
PutKeyPolicyRequest & WithPolicyName(const Aws::String &value)
bool GetBypassPolicyLockoutSafetyCheck() const
bool PolicyHasBeenSet() const
const Aws::String & GetPolicy() const
PutKeyPolicyRequest & WithPolicy(const char *value)
bool PolicyNameHasBeenSet() const
PutKeyPolicyRequest & WithPolicy(const Aws::String &value)
const Aws::String & GetKeyId() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
void SetKeyId(const char *value)
void SetPolicyName(Aws::String &&value)
PutKeyPolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicyName() const
AWS_KMS_API Aws::String SerializePayload() const override
void SetPolicy(Aws::String &&value)
void SetPolicy(const Aws::String &value)
void SetPolicyName(const Aws::String &value)
void SetPolicyName(const char *value)
void SetKeyId(const Aws::String &value)
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
PutKeyPolicyRequest & WithPolicyName(const char *value)
bool KeyIdHasBeenSet() const
PutKeyPolicyRequest & WithKeyId(const Aws::String &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