AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
BucketCountByEffectivePermission.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Macie2 {
17namespace Model {
18
27 public:
28 AWS_MACIE2_API BucketCountByEffectivePermission() = default;
31 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline long long GetPubliclyAccessible() const { return m_publiclyAccessible; }
39 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
40 inline void SetPubliclyAccessible(long long value) {
41 m_publiclyAccessibleHasBeenSet = true;
42 m_publiclyAccessible = value;
43 }
46 return *this;
47 }
49
51
55 inline long long GetPubliclyReadable() const { return m_publiclyReadable; }
56 inline bool PubliclyReadableHasBeenSet() const { return m_publiclyReadableHasBeenSet; }
57 inline void SetPubliclyReadable(long long value) {
58 m_publiclyReadableHasBeenSet = true;
59 m_publiclyReadable = value;
60 }
63 return *this;
64 }
66
68
72 inline long long GetPubliclyWritable() const { return m_publiclyWritable; }
73 inline bool PubliclyWritableHasBeenSet() const { return m_publiclyWritableHasBeenSet; }
74 inline void SetPubliclyWritable(long long value) {
75 m_publiclyWritableHasBeenSet = true;
76 m_publiclyWritable = value;
77 }
80 return *this;
81 }
83
85
91 inline long long GetUnknown() const { return m_unknown; }
92 inline bool UnknownHasBeenSet() const { return m_unknownHasBeenSet; }
93 inline void SetUnknown(long long value) {
94 m_unknownHasBeenSet = true;
95 m_unknown = value;
96 }
98 SetUnknown(value);
99 return *this;
100 }
102 private:
103 long long m_publiclyAccessible{0};
104
105 long long m_publiclyReadable{0};
106
107 long long m_publiclyWritable{0};
108
109 long long m_unknown{0};
110 bool m_publiclyAccessibleHasBeenSet = false;
111 bool m_publiclyReadableHasBeenSet = false;
112 bool m_publiclyWritableHasBeenSet = false;
113 bool m_unknownHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Macie2
118} // namespace Aws
BucketCountByEffectivePermission & WithPubliclyAccessible(long long value)
BucketCountByEffectivePermission & WithPubliclyWritable(long long value)
AWS_MACIE2_API BucketCountByEffectivePermission & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketCountByEffectivePermission & WithPubliclyReadable(long long value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketCountByEffectivePermission & WithUnknown(long long value)
AWS_MACIE2_API BucketCountByEffectivePermission(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue