7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetGrantToken(
const char* value) { m_grantTokenHasBeenSet =
true; m_grantToken.assign(value); }
68 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
85 inline void SetGrantId(
const char* value) { m_grantIdHasBeenSet =
true; m_grantId.assign(value); }
100 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
106 bool m_grantTokenHasBeenSet =
false;
109 bool m_keyIdHasBeenSet =
false;
112 bool m_grantIdHasBeenSet =
false;
115 bool m_dryRunHasBeenSet =
false;
RetireGrantRequest & WithGrantToken(const char *value)
RetireGrantRequest & WithDryRun(bool value)
bool GrantTokenHasBeenSet() const
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
void SetGrantId(Aws::String &&value)
const Aws::String & GetGrantToken() const
bool GrantIdHasBeenSet() const
void SetGrantToken(const Aws::String &value)
void SetKeyId(const char *value)
void SetGrantToken(Aws::String &&value)
RetireGrantRequest & WithKeyId(const char *value)
void SetKeyId(Aws::String &&value)
void SetGrantId(const Aws::String &value)
RetireGrantRequest & WithKeyId(Aws::String &&value)
RetireGrantRequest & WithGrantToken(const Aws::String &value)
void SetGrantId(const char *value)
const Aws::String & GetGrantId() const
AWS_KMS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetGrantToken(const char *value)
RetireGrantRequest & WithKeyId(const Aws::String &value)
bool KeyIdHasBeenSet() const
AWS_KMS_API RetireGrantRequest()
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetKeyId(const Aws::String &value)
RetireGrantRequest & WithGrantToken(Aws::String &&value)
RetireGrantRequest & WithGrantId(const Aws::String &value)
RetireGrantRequest & WithGrantId(Aws::String &&value)
const Aws::String & GetKeyId() const
RetireGrantRequest & WithGrantId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String