7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/S3ControlRequest.h>
10#include <aws/s3control/S3Control_EXPORTS.h>
11#include <aws/s3control/model/Tag.h>
48 template <
typename AccountIdT = Aws::String>
50 m_accountIdHasBeenSet =
true;
51 m_accountId = std::forward<AccountIdT>(value);
53 template <
typename AccountIdT = Aws::String>
73 template <
typename LocationScopeT = Aws::String>
75 m_locationScopeHasBeenSet =
true;
76 m_locationScope = std::forward<LocationScopeT>(value);
78 template <
typename LocationScopeT = Aws::String>
93 template <
typename IAMRoleArnT = Aws::String>
95 m_iAMRoleArnHasBeenSet =
true;
96 m_iAMRoleArn = std::forward<IAMRoleArnT>(value);
98 template <
typename IAMRoleArnT = Aws::String>
114 template <
typename TagsT = Aws::Vector<Tag>>
116 m_tagsHasBeenSet =
true;
117 m_tags = std::forward<TagsT>(value);
119 template <
typename TagsT = Aws::Vector<Tag>>
121 SetTags(std::forward<TagsT>(value));
124 template <
typename TagsT = Tag>
126 m_tagsHasBeenSet =
true;
127 m_tags.emplace_back(std::forward<TagsT>(value));
139 bool m_accountIdHasBeenSet =
false;
140 bool m_locationScopeHasBeenSet =
false;
141 bool m_iAMRoleArnHasBeenSet =
false;
142 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