AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3PublicAccessBlockConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccessAnalyzer
20{
21namespace Model
22{
23
39 {
40 public:
41 AWS_ACCESSANALYZER_API S3PublicAccessBlockConfiguration();
44 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline bool GetIgnorePublicAcls() const{ return m_ignorePublicAcls; }
53 inline bool IgnorePublicAclsHasBeenSet() const { return m_ignorePublicAclsHasBeenSet; }
54 inline void SetIgnorePublicAcls(bool value) { m_ignorePublicAclsHasBeenSet = true; m_ignorePublicAcls = value; }
57
59
63 inline bool GetRestrictPublicBuckets() const{ return m_restrictPublicBuckets; }
64 inline bool RestrictPublicBucketsHasBeenSet() const { return m_restrictPublicBucketsHasBeenSet; }
65 inline void SetRestrictPublicBuckets(bool value) { m_restrictPublicBucketsHasBeenSet = true; m_restrictPublicBuckets = value; }
68 private:
69
70 bool m_ignorePublicAcls;
71 bool m_ignorePublicAclsHasBeenSet = false;
72
73 bool m_restrictPublicBuckets;
74 bool m_restrictPublicBucketsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AccessAnalyzer
79} // namespace Aws
AWS_ACCESSANALYZER_API S3PublicAccessBlockConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API S3PublicAccessBlockConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
S3PublicAccessBlockConfiguration & WithRestrictPublicBuckets(bool value)
Aws::Utils::Json::JsonValue JsonValue