7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename GrantTokenT = Aws::String>
50 void SetGrantToken(GrantTokenT&& value) { m_grantTokenHasBeenSet =
true; m_grantToken = std::forward<GrantTokenT>(value); }
51 template<
typename GrantTokenT = Aws::String>
64 template<
typename KeyIdT = Aws::String>
65 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
66 template<
typename KeyIdT = Aws::String>
79 template<
typename GrantIdT = Aws::String>
80 void SetGrantId(GrantIdT&& value) { m_grantIdHasBeenSet =
true; m_grantId = std::forward<GrantIdT>(value); }
81 template<
typename GrantIdT = Aws::String>
94 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
100 bool m_grantTokenHasBeenSet =
false;
103 bool m_keyIdHasBeenSet =
false;
106 bool m_grantIdHasBeenSet =
false;
108 bool m_dryRun{
false};
109 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