7#include <aws/s3/S3_EXPORTS.h>
55 inline void SetBlockPublicAcls(
bool value) { m_blockPublicAclsHasBeenSet =
true; m_blockPublicAcls = value; }
69 inline void SetIgnorePublicAcls(
bool value) { m_ignorePublicAclsHasBeenSet =
true; m_ignorePublicAcls = value; }
82 inline void SetBlockPublicPolicy(
bool value) { m_blockPublicPolicyHasBeenSet =
true; m_blockPublicPolicy = value; }
98 inline void SetRestrictPublicBuckets(
bool value) { m_restrictPublicBucketsHasBeenSet =
true; m_restrictPublicBuckets = value; }
103 bool m_blockPublicAcls;
104 bool m_blockPublicAclsHasBeenSet =
false;
106 bool m_ignorePublicAcls;
107 bool m_ignorePublicAclsHasBeenSet =
false;
109 bool m_blockPublicPolicy;
110 bool m_blockPublicPolicyHasBeenSet =
false;
112 bool m_restrictPublicBuckets;
113 bool m_restrictPublicBucketsHasBeenSet =
false;
bool GetRestrictPublicBuckets() const
bool GetIgnorePublicAcls() const
void SetIgnorePublicAcls(bool value)
bool BlockPublicAclsHasBeenSet() const
bool BlockPublicPolicyHasBeenSet() const
bool GetBlockPublicAcls() const
AWS_S3_API PublicAccessBlockConfiguration()
AWS_S3_API PublicAccessBlockConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBlockPublicPolicy(bool value)
bool RestrictPublicBucketsHasBeenSet() const
PublicAccessBlockConfiguration & WithBlockPublicAcls(bool value)
bool IgnorePublicAclsHasBeenSet() const
PublicAccessBlockConfiguration & WithIgnorePublicAcls(bool value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool GetBlockPublicPolicy() const
PublicAccessBlockConfiguration & WithBlockPublicPolicy(bool value)
void SetBlockPublicAcls(bool value)
void SetRestrictPublicBuckets(bool value)
PublicAccessBlockConfiguration & WithRestrictPublicBuckets(bool value)