7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/kms/KMS_EXPORTS.h>
45 template <
typename GrantTokenT = Aws::String>
47 m_grantTokenHasBeenSet =
true;
48 m_grantToken = std::forward<GrantTokenT>(value);
50 template <
typename GrantTokenT = Aws::String>
66 template <
typename KeyIdT = Aws::String>
68 m_keyIdHasBeenSet =
true;
69 m_keyId = std::forward<KeyIdT>(value);
71 template <
typename KeyIdT = Aws::String>
73 SetKeyId(std::forward<KeyIdT>(value));
87 template <
typename GrantIdT = Aws::String>
89 m_grantIdHasBeenSet =
true;
90 m_grantId = std::forward<GrantIdT>(value);
92 template <
typename GrantIdT = Aws::String>
109 m_dryRunHasBeenSet =
true;
124 bool m_dryRun{
false};
125 bool m_grantTokenHasBeenSet =
false;
126 bool m_keyIdHasBeenSet =
false;
127 bool m_grantIdHasBeenSet =
false;
128 bool m_dryRunHasBeenSet =
false;
RetireGrantRequest & WithDryRun(bool value)
bool GrantTokenHasBeenSet() const
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
const Aws::String & GetGrantToken() const
bool GrantIdHasBeenSet() const
RetireGrantRequest & WithGrantToken(GrantTokenT &&value)
const Aws::String & GetGrantId() const
AWS_KMS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetGrantToken(GrantTokenT &&value)
void SetGrantId(GrantIdT &&value)
RetireGrantRequest & WithGrantId(GrantIdT &&value)
bool KeyIdHasBeenSet() const
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetKeyId(KeyIdT &&value)
const Aws::String & GetKeyId() const
RetireGrantRequest & WithKeyId(KeyIdT &&value)
AWS_KMS_API RetireGrantRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String