7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/GranteeType.h>
11#include <aws/s3control/model/Permission.h>
57 template<
typename AccountIdT = Aws::String>
58 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
59 template<
typename AccountIdT = Aws::String>
71 template<
typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<
typename NextTokenT = Aws::String>
86 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
120 template<
typename GranteeIdentifierT = Aws::String>
121 void SetGranteeIdentifier(GranteeIdentifierT&& value) { m_granteeIdentifierHasBeenSet =
true; m_granteeIdentifier = std::forward<GranteeIdentifierT>(value); }
122 template<
typename GranteeIdentifierT = Aws::String>
147 template<
typename GrantScopeT = Aws::String>
148 void SetGrantScope(GrantScopeT&& value) { m_grantScopeHasBeenSet =
true; m_grantScope = std::forward<GrantScopeT>(value); }
149 template<
typename GrantScopeT = Aws::String>
162 template<
typename ApplicationArnT = Aws::String>
163 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet =
true; m_applicationArn = std::forward<ApplicationArnT>(value); }
164 template<
typename ApplicationArnT = Aws::String>
170 bool m_accountIdHasBeenSet =
false;
173 bool m_nextTokenHasBeenSet =
false;
176 bool m_maxResultsHasBeenSet =
false;
179 bool m_granteeTypeHasBeenSet =
false;
182 bool m_granteeIdentifierHasBeenSet =
false;
185 bool m_permissionHasBeenSet =
false;
188 bool m_grantScopeHasBeenSet =
false;
191 bool m_applicationArnHasBeenSet =
false;
bool AccountIdHasBeenSet() const
bool GrantScopeHasBeenSet() const
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
bool ApplicationArnHasBeenSet() const
void SetMaxResults(int value)
const Aws::String & GetGrantScope() const
void SetGrantScope(GrantScopeT &&value)
void SetPermission(Permission value)
void SetGranteeIdentifier(GranteeIdentifierT &&value)
ListAccessGrantsRequest & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
Permission GetPermission() const
void SetNextToken(NextTokenT &&value)
ListAccessGrantsRequest & WithNextToken(NextTokenT &&value)
bool GranteeIdentifierHasBeenSet() const
ListAccessGrantsRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
GranteeType GetGranteeType() const
ListAccessGrantsRequest & WithGrantScope(GrantScopeT &&value)
bool PermissionHasBeenSet() const
bool MaxResultsHasBeenSet() const
ListAccessGrantsRequest & WithPermission(Permission value)
virtual const char * GetServiceRequestName() const override
AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetNextToken() const
bool GranteeTypeHasBeenSet() const
ListAccessGrantsRequest & WithGranteeType(GranteeType value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API ListAccessGrantsRequest()=default
void SetApplicationArn(ApplicationArnT &&value)
ListAccessGrantsRequest & WithApplicationArn(ApplicationArnT &&value)
ListAccessGrantsRequest & WithGranteeIdentifier(GranteeIdentifierT &&value)
const Aws::String & GetApplicationArn() const
const Aws::String & GetAccountId() const
void SetGranteeType(GranteeType value)
int GetMaxResults() const
const Aws::String & GetGranteeIdentifier() const
void SetAccountId(AccountIdT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String