7#include <aws/guardduty/GuardDuty_EXPORTS.h>
48 inline void SetIgnorePublicAcls(
bool value) { m_ignorePublicAclsHasBeenSet =
true; m_ignorePublicAcls = value; }
59 inline void SetRestrictPublicBuckets(
bool value) { m_restrictPublicBucketsHasBeenSet =
true; m_restrictPublicBuckets = value; }
70 inline void SetBlockPublicAcls(
bool value) { m_blockPublicAclsHasBeenSet =
true; m_blockPublicAcls = value; }
81 inline void SetBlockPublicPolicy(
bool value) { m_blockPublicPolicyHasBeenSet =
true; m_blockPublicPolicy = value; }
86 bool m_ignorePublicAcls;
87 bool m_ignorePublicAclsHasBeenSet =
false;
89 bool m_restrictPublicBuckets;
90 bool m_restrictPublicBucketsHasBeenSet =
false;
92 bool m_blockPublicAcls;
93 bool m_blockPublicAclsHasBeenSet =
false;
95 bool m_blockPublicPolicy;
96 bool m_blockPublicPolicyHasBeenSet =
false;
bool BlockPublicAclsHasBeenSet() const
void SetIgnorePublicAcls(bool value)
AWS_GUARDDUTY_API BlockPublicAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RestrictPublicBucketsHasBeenSet() const
AWS_GUARDDUTY_API BlockPublicAccess()
BlockPublicAccess & WithBlockPublicPolicy(bool value)
AWS_GUARDDUTY_API BlockPublicAccess(Aws::Utils::Json::JsonView jsonValue)
BlockPublicAccess & WithIgnorePublicAcls(bool value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool IgnorePublicAclsHasBeenSet() const
bool BlockPublicPolicyHasBeenSet() const
bool GetRestrictPublicBuckets() const
BlockPublicAccess & WithBlockPublicAcls(bool value)
void SetBlockPublicAcls(bool value)
bool GetBlockPublicAcls() const
BlockPublicAccess & WithRestrictPublicBuckets(bool value)
bool GetIgnorePublicAcls() const
void SetBlockPublicPolicy(bool value)
void SetRestrictPublicBuckets(bool value)
bool GetBlockPublicPolicy() const
Aws::Utils::Json::JsonValue JsonValue