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); }
67 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
75 bool m_keyIdHasBeenSet =
false;
78 bool m_policyNameHasBeenSet =
false;
GetKeyPolicyRequest & WithPolicyName(Aws::String &&value)
GetKeyPolicyRequest & WithKeyId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPolicyName(const char *value)
void SetPolicyName(Aws::String &&value)
AWS_KMS_API Aws::String SerializePayload() const override
GetKeyPolicyRequest & WithKeyId(Aws::String &&value)
GetKeyPolicyRequest & WithPolicyName(const Aws::String &value)
void SetKeyId(const char *value)
const Aws::String & GetPolicyName() const
void SetKeyId(Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetKeyId() const
bool PolicyNameHasBeenSet() const
GetKeyPolicyRequest & WithPolicyName(const char *value)
void SetPolicyName(const Aws::String &value)
void SetKeyId(const Aws::String &value)
bool KeyIdHasBeenSet() const
GetKeyPolicyRequest & WithKeyId(const Aws::String &value)
AWS_KMS_API GetKeyPolicyRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String