7#include <aws/s3control/S3Control_EXPORTS.h>
57 inline void SetBlockPublicAcls(
bool value) { m_blockPublicAclsHasBeenSet =
true; m_blockPublicAcls = value; }
72 inline void SetIgnorePublicAcls(
bool value) { m_ignorePublicAclsHasBeenSet =
true; m_ignorePublicAcls = value; }
86 inline void SetBlockPublicPolicy(
bool value) { m_blockPublicPolicyHasBeenSet =
true; m_blockPublicPolicy = value; }
108 bool m_blockPublicAcls;
109 bool m_blockPublicAclsHasBeenSet =
false;
111 bool m_ignorePublicAcls;
112 bool m_ignorePublicAclsHasBeenSet =
false;
114 bool m_blockPublicPolicy;
115 bool m_blockPublicPolicyHasBeenSet =
false;
117 bool m_restrictPublicBuckets;
118 bool m_restrictPublicBucketsHasBeenSet =
false;
AWS_S3CONTROL_API PublicAccessBlockConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicAccessBlockConfiguration & WithBlockPublicPolicy(bool value)
void SetIgnorePublicAcls(bool value)
void SetBlockPublicPolicy(bool value)
bool GetBlockPublicAcls() const
AWS_S3CONTROL_API PublicAccessBlockConfiguration()
PublicAccessBlockConfiguration & WithBlockPublicAcls(bool value)
void SetRestrictPublicBuckets(bool value)
bool GetIgnorePublicAcls() const
bool IgnorePublicAclsHasBeenSet() const
PublicAccessBlockConfiguration & WithIgnorePublicAcls(bool value)
PublicAccessBlockConfiguration & WithRestrictPublicBuckets(bool value)
bool BlockPublicPolicyHasBeenSet() const
bool RestrictPublicBucketsHasBeenSet() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool GetRestrictPublicBuckets() const
AWS_S3CONTROL_API PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BlockPublicAclsHasBeenSet() const
void SetBlockPublicAcls(bool value)
bool GetBlockPublicPolicy() const