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/VpcConfiguration.h>
11#include <aws/s3control/model/PublicAccessBlockConfiguration.h>
12#include <aws/s3control/model/Scope.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/s3control/model/Tag.h>
53 template<
typename AccountIdT = Aws::String>
54 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
55 template<
typename AccountIdT = Aws::String>
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
94 template<
typename BucketT = Aws::String>
95 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
96 template<
typename BucketT = Aws::String>
109 template<
typename VpcConfigurationT = VpcConfiguration>
110 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
111 template<
typename VpcConfigurationT = VpcConfiguration>
122 template<
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
123 void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT&& value) { m_publicAccessBlockConfigurationHasBeenSet =
true; m_publicAccessBlockConfiguration = std::forward<PublicAccessBlockConfigurationT>(value); }
124 template<
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
139 template<
typename BucketAccountIdT = Aws::String>
140 void SetBucketAccountId(BucketAccountIdT&& value) { m_bucketAccountIdHasBeenSet =
true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
141 template<
typename BucketAccountIdT = Aws::String>
156 template<
typename ScopeT = Scope>
157 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
158 template<
typename ScopeT = Scope>
178 template<
typename TagsT = Aws::Vector<Tag>>
179 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
180 template<
typename TagsT = Aws::Vector<Tag>>
182 template<
typename TagsT = Tag>
188 bool m_accountIdHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
194 bool m_bucketHasBeenSet =
false;
197 bool m_vpcConfigurationHasBeenSet =
false;
200 bool m_publicAccessBlockConfigurationHasBeenSet =
false;
203 bool m_bucketAccountIdHasBeenSet =
false;
206 bool m_scopeHasBeenSet =
false;
209 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