7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
61 inline void SetMarker(
const char* value) { m_markerHasBeenSet =
true; m_marker.assign(value); }
82 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
97 inline void SetGrantId(
const char* value) { m_grantIdHasBeenSet =
true; m_grantId.assign(value); }
112 inline void SetGranteePrincipal(
const char* value) { m_granteePrincipalHasBeenSet =
true; m_granteePrincipal.assign(value); }
120 bool m_limitHasBeenSet =
false;
123 bool m_markerHasBeenSet =
false;
126 bool m_keyIdHasBeenSet =
false;
129 bool m_grantIdHasBeenSet =
false;
132 bool m_granteePrincipalHasBeenSet =
false;
ListGrantsRequest & WithGranteePrincipal(const char *value)
ListGrantsRequest & WithKeyId(const char *value)
void SetGranteePrincipal(const char *value)
void SetKeyId(const char *value)
const Aws::String & GetGrantId() const
ListGrantsRequest & WithMarker(Aws::String &&value)
void SetMarker(const Aws::String &value)
ListGrantsRequest & WithMarker(const char *value)
AWS_KMS_API Aws::String SerializePayload() const override
void SetKeyId(const Aws::String &value)
void SetGrantId(const Aws::String &value)
ListGrantsRequest & WithMarker(const Aws::String &value)
ListGrantsRequest & WithGrantId(Aws::String &&value)
void SetMarker(Aws::String &&value)
const Aws::String & GetKeyId() const
const Aws::String & GetMarker() const
void SetGranteePrincipal(const Aws::String &value)
void SetKeyId(Aws::String &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListGrantsRequest & WithKeyId(const Aws::String &value)
ListGrantsRequest & WithLimit(int value)
bool GrantIdHasBeenSet() const
bool KeyIdHasBeenSet() const
ListGrantsRequest & WithGranteePrincipal(Aws::String &&value)
ListGrantsRequest & WithKeyId(Aws::String &&value)
void SetGrantId(Aws::String &&value)
ListGrantsRequest & WithGrantId(const Aws::String &value)
const Aws::String & GetGranteePrincipal() const
AWS_KMS_API ListGrantsRequest()
bool GranteePrincipalHasBeenSet() const
void SetGrantId(const char *value)
bool MarkerHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetGranteePrincipal(Aws::String &&value)
ListGrantsRequest & WithGrantId(const char *value)
bool LimitHasBeenSet() const
ListGrantsRequest & WithGranteePrincipal(const Aws::String &value)
void SetMarker(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String