/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for an Amazon S3 access point or multi-region access point
* for the bucket. You can propose up to 10 access points or multi-region access
* points per bucket. If the proposed Amazon S3 access point configuration is for
* an existing bucket, the access preview uses the proposed access point
* configuration in place of the existing access points. To propose an access point
* without a policy, you can provide an empty string as the access point policy.
* For more information, see Creating
* access points. For more information about access point policy limits, see Access
* points restrictions and limitations.See Also:
AWS
* API Reference
The access point or multi-region access point policy.
*/ inline const Aws::String& GetAccessPointPolicy() const{ return m_accessPointPolicy; } /** *The access point or multi-region access point policy.
*/ inline bool AccessPointPolicyHasBeenSet() const { return m_accessPointPolicyHasBeenSet; } /** *The access point or multi-region access point policy.
*/ inline void SetAccessPointPolicy(const Aws::String& value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy = value; } /** *The access point or multi-region access point policy.
*/ inline void SetAccessPointPolicy(Aws::String&& value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy = std::move(value); } /** *The access point or multi-region access point policy.
*/ inline void SetAccessPointPolicy(const char* value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy.assign(value); } /** *The access point or multi-region access point policy.
*/ inline S3AccessPointConfiguration& WithAccessPointPolicy(const Aws::String& value) { SetAccessPointPolicy(value); return *this;} /** *The access point or multi-region access point policy.
*/ inline S3AccessPointConfiguration& WithAccessPointPolicy(Aws::String&& value) { SetAccessPointPolicy(std::move(value)); return *this;} /** *The access point or multi-region access point policy.
*/ inline S3AccessPointConfiguration& WithAccessPointPolicy(const char* value) { SetAccessPointPolicy(value); return *this;} /** *The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed S3PublicAccessBlock
configuration to apply to this
* Amazon S3 access point or multi-region access point.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.
The proposed Internet
and VpcConfiguration
to apply
* to this Amazon S3 access point. VpcConfiguration
does not apply to
* multi-region access points. If the access preview is for a new resource and
* neither is specified, the access preview uses Internet
for the
* network origin. If the access preview is for an existing resource and neither is
* specified, the access preview uses the exiting network origin.