7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename KeyIdT = Aws::String>
52 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
53 template<
typename KeyIdT = Aws::String>
64 template<
typename GrantIdT = Aws::String>
65 void SetGrantId(GrantIdT&& value) { m_grantIdHasBeenSet =
true; m_grantId = std::forward<GrantIdT>(value); }
66 template<
typename GrantIdT = Aws::String>
79 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
85 bool m_keyIdHasBeenSet =
false;
88 bool m_grantIdHasBeenSet =
false;
91 bool m_dryRunHasBeenSet =
false;
RevokeGrantRequest & WithKeyId(KeyIdT &&value)
bool DryRunHasBeenSet() const
AWS_KMS_API Aws::String SerializePayload() const override
bool KeyIdHasBeenSet() const
const Aws::String & GetGrantId() const
RevokeGrantRequest & WithDryRun(bool value)
const Aws::String & GetKeyId() const
RevokeGrantRequest & WithGrantId(GrantIdT &&value)
bool GrantIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetGrantId(GrantIdT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KMS_API RevokeGrantRequest()=default
void SetKeyId(KeyIdT &&value)
void SetDryRun(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String