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/PublicAccessBlockConfiguration.h>
12#include <aws/s3control/model/Scope.h>
13#include <aws/s3control/model/Tag.h>
14#include <aws/s3control/model/VpcConfiguration.h>
50 template <
typename AccountIdT = Aws::String>
52 m_accountIdHasBeenSet =
true;
53 m_accountId = std::forward<AccountIdT>(value);
55 template <
typename AccountIdT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
103 template <
typename BucketT = Aws::String>
105 m_bucketHasBeenSet =
true;
106 m_bucket = std::forward<BucketT>(value);
108 template <
typename BucketT = Aws::String>
124 template <
typename VpcConfigurationT = VpcConfiguration>
126 m_vpcConfigurationHasBeenSet =
true;
127 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
129 template <
typename VpcConfigurationT = VpcConfiguration>
143 template <
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
145 m_publicAccessBlockConfigurationHasBeenSet =
true;
146 m_publicAccessBlockConfiguration = std::forward<PublicAccessBlockConfigurationT>(value);
148 template <
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
166 template <
typename BucketAccountIdT = Aws::String>
168 m_bucketAccountIdHasBeenSet =
true;
169 m_bucketAccountId = std::forward<BucketAccountIdT>(value);
171 template <
typename BucketAccountIdT = Aws::String>
189 template <
typename ScopeT = Scope>
191 m_scopeHasBeenSet =
true;
192 m_scope = std::forward<ScopeT>(value);
194 template <
typename ScopeT = Scope>
196 SetScope(std::forward<ScopeT>(value));
213 template <
typename TagsT = Aws::Vector<Tag>>
215 m_tagsHasBeenSet =
true;
216 m_tags = std::forward<TagsT>(value);
218 template <
typename TagsT = Aws::Vector<Tag>>
220 SetTags(std::forward<TagsT>(value));
223 template <
typename TagsT = Tag>
225 m_tagsHasBeenSet =
true;
226 m_tags.emplace_back(std::forward<TagsT>(value));
246 bool m_accountIdHasBeenSet =
false;
247 bool m_nameHasBeenSet =
false;
248 bool m_bucketHasBeenSet =
false;
249 bool m_vpcConfigurationHasBeenSet =
false;
250 bool m_publicAccessBlockConfigurationHasBeenSet =
false;
251 bool m_bucketAccountIdHasBeenSet =
false;
252 bool m_scopeHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
bool VpcConfigurationHasBeenSet() const
bool BucketHasBeenSet() const
void SetBucketAccountId(BucketAccountIdT &&value)
CreateAccessPointRequest & WithVpcConfiguration(VpcConfigurationT &&value)
bool TagsHasBeenSet() const
CreateAccessPointRequest & WithBucket(BucketT &&value)
CreateAccessPointRequest & WithName(NameT &&value)
const Aws::String & GetName() const
CreateAccessPointRequest & WithPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
const Aws::String & GetAccountId() const
void SetVpcConfiguration(VpcConfigurationT &&value)
CreateAccessPointRequest & WithBucketAccountId(BucketAccountIdT &&value)
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
void SetScope(ScopeT &&value)
void SetBucket(BucketT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccessPointRequest & WithTags(TagsT &&value)
CreateAccessPointRequest & WithAccountId(AccountIdT &&value)
const Scope & GetScope() const
const Aws::String & GetBucket() const
bool BucketAccountIdHasBeenSet() const
bool PublicAccessBlockConfigurationHasBeenSet() const
CreateAccessPointRequest & AddTags(TagsT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
void SetName(NameT &&value)
AWS_S3CONTROL_API CreateAccessPointRequest()=default
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateAccessPointRequest & WithScope(ScopeT &&value)
bool NameHasBeenSet() const
const PublicAccessBlockConfiguration & GetPublicAccessBlockConfiguration() const
const VpcConfiguration & GetVpcConfiguration() const
const Aws::Vector< Tag > & GetTags() const
bool AccountIdHasBeenSet() const
bool ScopeHasBeenSet() const
void SetAccountId(AccountIdT &&value)
const Aws::String & GetBucketAccountId() 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