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/AccessGrantsLocationConfiguration.h>
11#include <aws/s3control/model/Grantee.h>
12#include <aws/s3control/model/Permission.h>
13#include <aws/s3control/model/S3PrefixType.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/s3control/model/Tag.h>
57 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
77 inline void SetAccessGrantsLocationId(
const char* value) { m_accessGrantsLocationIdHasBeenSet =
true; m_accessGrantsLocationId.assign(value); }
109 inline void SetGrantee(
Grantee&& value) { m_granteeHasBeenSet =
true; m_grantee = std::move(value); }
141 inline void SetApplicationArn(
const char* value) { m_applicationArnHasBeenSet =
true; m_applicationArn.assign(value); }
180 bool m_accountIdHasBeenSet =
false;
183 bool m_accessGrantsLocationIdHasBeenSet =
false;
186 bool m_accessGrantsLocationConfigurationHasBeenSet =
false;
189 bool m_granteeHasBeenSet =
false;
192 bool m_permissionHasBeenSet =
false;
195 bool m_applicationArnHasBeenSet =
false;
198 bool m_s3PrefixTypeHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
void SetS3PrefixType(const S3PrefixType &value)
CreateAccessGrantRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAccessGrantRequest & AddTags(Tag &&value)
void SetPermission(const Permission &value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccessGrantRequest & WithAccessGrantsLocationId(const char *value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
void SetAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
CreateAccessGrantRequest & WithAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
CreateAccessGrantRequest & WithGrantee(const Grantee &value)
CreateAccessGrantRequest & WithApplicationArn(Aws::String &&value)
void SetApplicationArn(const char *value)
const Permission & GetPermission() const
CreateAccessGrantRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAccessGrantRequest & WithAccountId(const Aws::String &value)
bool AccessGrantsLocationConfigurationHasBeenSet() const
void SetAccessGrantsLocationId(Aws::String &&value)
CreateAccessGrantRequest & WithGrantee(Grantee &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetAccountId(const Aws::String &value)
CreateAccessGrantRequest & WithS3PrefixType(S3PrefixType &&value)
void SetTags(Aws::Vector< Tag > &&value)
const S3PrefixType & GetS3PrefixType() const
CreateAccessGrantRequest & WithAccessGrantsLocationId(Aws::String &&value)
bool GranteeHasBeenSet() const
const Aws::String & GetAccessGrantsLocationId() const
void SetAccountId(const char *value)
void SetApplicationArn(const Aws::String &value)
const Aws::String & GetAccountId() const
CreateAccessGrantRequest & WithAccountId(Aws::String &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateAccessGrantRequest & WithApplicationArn(const Aws::String &value)
void SetGrantee(Grantee &&value)
CreateAccessGrantRequest & WithAccountId(const char *value)
const Aws::String & GetApplicationArn() const
void SetApplicationArn(Aws::String &&value)
CreateAccessGrantRequest & WithAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
const Aws::Vector< Tag > & GetTags() const
CreateAccessGrantRequest & AddTags(const Tag &value)
bool AccessGrantsLocationIdHasBeenSet() const
CreateAccessGrantRequest & WithPermission(const Permission &value)
bool S3PrefixTypeHasBeenSet() const
void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
void SetPermission(Permission &&value)
void SetAccessGrantsLocationId(const Aws::String &value)
bool AccountIdHasBeenSet() const
void SetGrantee(const Grantee &value)
CreateAccessGrantRequest & WithS3PrefixType(const S3PrefixType &value)
void SetAccessGrantsLocationId(const char *value)
void SetAccountId(Aws::String &&value)
const AccessGrantsLocationConfiguration & GetAccessGrantsLocationConfiguration() const
const Grantee & GetGrantee() const
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API CreateAccessGrantRequest()
bool PermissionHasBeenSet() const
CreateAccessGrantRequest & WithPermission(Permission &&value)
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
bool ApplicationArnHasBeenSet() const
CreateAccessGrantRequest & WithAccessGrantsLocationId(const Aws::String &value)
CreateAccessGrantRequest & WithApplicationArn(const char *value)
void SetS3PrefixType(S3PrefixType &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector