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>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
70 template<
typename LocationScopeT = Aws::String>
71 void SetLocationScope(LocationScopeT&& value) { m_locationScopeHasBeenSet =
true; m_locationScope = std::forward<LocationScopeT>(value); }
72 template<
typename LocationScopeT = Aws::String>
84 template<
typename IAMRoleArnT = Aws::String>
85 void SetIAMRoleArn(IAMRoleArnT&& value) { m_iAMRoleArnHasBeenSet =
true; m_iAMRoleArn = std::forward<IAMRoleArnT>(value); }
86 template<
typename IAMRoleArnT = Aws::String>
99 template<
typename TagsT = Aws::Vector<Tag>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Vector<Tag>>
103 template<
typename TagsT = Tag>
109 bool m_accountIdHasBeenSet =
false;
112 bool m_locationScopeHasBeenSet =
false;
115 bool m_iAMRoleArnHasBeenSet =
false;
118 bool m_tagsHasBeenSet =
false;
CreateAccessGrantsLocationRequest & WithLocationScope(LocationScopeT &&value)
CreateAccessGrantsLocationRequest & AddTags(TagsT &&value)
bool LocationScopeHasBeenSet() const
const Aws::String & GetIAMRoleArn() const
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
AWS_S3CONTROL_API CreateAccessGrantsLocationRequest()=default
bool AccountIdHasBeenSet() const
void SetAccountId(AccountIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateAccessGrantsLocationRequest & WithIAMRoleArn(IAMRoleArnT &&value)
const Aws::String & GetLocationScope() const
void SetIAMRoleArn(IAMRoleArnT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
void SetTags(TagsT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
CreateAccessGrantsLocationRequest & WithTags(TagsT &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
void SetLocationScope(LocationScopeT &&value)
const Aws::String & GetAccountId() const
bool IAMRoleArnHasBeenSet() const
CreateAccessGrantsLocationRequest & WithAccountId(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
std::vector< T, Aws::Allocator< T > > Vector