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/core/utils/memory/stl/AWSVector.h>
11#include <aws/s3control/model/Tag.h>
53 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
74 inline void SetLocationScope(
const char* value) { m_locationScopeHasBeenSet =
true; m_locationScope.assign(value); }
90 inline void SetIAMRoleArn(
const char* value) { m_iAMRoleArnHasBeenSet =
true; m_iAMRoleArn.assign(value); }
115 bool m_accountIdHasBeenSet =
false;
118 bool m_locationScopeHasBeenSet =
false;
121 bool m_iAMRoleArnHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
void SetIAMRoleArn(const char *value)
CreateAccessGrantsLocationRequest & WithAccountId(const char *value)
void SetLocationScope(const char *value)
bool LocationScopeHasBeenSet() const
void SetLocationScope(Aws::String &&value)
const Aws::String & GetIAMRoleArn() const
const Aws::Vector< Tag > & GetTags() const
void SetAccountId(const Aws::String &value)
void SetIAMRoleArn(const Aws::String &value)
bool TagsHasBeenSet() const
void SetAccountId(Aws::String &&value)
CreateAccessGrantsLocationRequest & WithLocationScope(const Aws::String &value)
CreateAccessGrantsLocationRequest & WithAccountId(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetLocationScope() const
void SetIAMRoleArn(Aws::String &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccessGrantsLocationRequest & WithIAMRoleArn(const char *value)
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
AWS_S3CONTROL_API CreateAccessGrantsLocationRequest()
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
CreateAccessGrantsLocationRequest & WithLocationScope(Aws::String &&value)
CreateAccessGrantsLocationRequest & AddTags(Tag &&value)
CreateAccessGrantsLocationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAccessGrantsLocationRequest & WithIAMRoleArn(Aws::String &&value)
void SetLocationScope(const Aws::String &value)
CreateAccessGrantsLocationRequest & WithLocationScope(const char *value)
CreateAccessGrantsLocationRequest & WithIAMRoleArn(const Aws::String &value)
CreateAccessGrantsLocationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAccessGrantsLocationRequest & WithAccountId(const Aws::String &value)
void SetAccountId(const char *value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
CreateAccessGrantsLocationRequest & AddTags(const Tag &value)
const Aws::String & GetAccountId() const
bool IAMRoleArnHasBeenSet() const
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