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>
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 NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
92 template<
typename BucketT = Aws::String>
93 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
94 template<
typename BucketT = Aws::String>
107 template<
typename VpcConfigurationT = VpcConfiguration>
108 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
109 template<
typename VpcConfigurationT = VpcConfiguration>
120 template<
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
121 void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT&& value) { m_publicAccessBlockConfigurationHasBeenSet =
true; m_publicAccessBlockConfiguration = std::forward<PublicAccessBlockConfigurationT>(value); }
122 template<
typename PublicAccessBlockConfigurationT = PublicAccessBlockConfiguration>
137 template<
typename BucketAccountIdT = Aws::String>
138 void SetBucketAccountId(BucketAccountIdT&& value) { m_bucketAccountIdHasBeenSet =
true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
139 template<
typename BucketAccountIdT = Aws::String>
154 template<
typename ScopeT = Scope>
155 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
156 template<
typename ScopeT = Scope>
162 bool m_accountIdHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
168 bool m_bucketHasBeenSet =
false;
171 bool m_vpcConfigurationHasBeenSet =
false;
174 bool m_publicAccessBlockConfigurationHasBeenSet =
false;
177 bool m_bucketAccountIdHasBeenSet =
false;
180 bool m_scopeHasBeenSet =
false;
bool VpcConfigurationHasBeenSet() const
bool BucketHasBeenSet() const
void SetBucketAccountId(BucketAccountIdT &&value)
CreateAccessPointRequest & WithVpcConfiguration(VpcConfigurationT &&value)
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 & WithAccountId(AccountIdT &&value)
const Scope & GetScope() const
const Aws::String & GetBucket() const
bool BucketAccountIdHasBeenSet() const
bool PublicAccessBlockConfigurationHasBeenSet() const
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
void SetName(NameT &&value)
AWS_S3CONTROL_API CreateAccessPointRequest()=default
virtual const char * GetServiceRequestName() const override
CreateAccessPointRequest & WithScope(ScopeT &&value)
bool NameHasBeenSet() const
const PublicAccessBlockConfiguration & GetPublicAccessBlockConfiguration() const
const VpcConfiguration & GetVpcConfiguration() 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