AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketCountByEffectivePermission.h
1
6#pragma once
7#include <aws/macie2/Macie2_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 Macie2
20{
21namespace Model
22{
23
32 {
33 public:
37 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline long long GetPubliclyAccessible() const{ return m_publiclyAccessible; }
46 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
47 inline void SetPubliclyAccessible(long long value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
48 inline BucketCountByEffectivePermission& WithPubliclyAccessible(long long value) { SetPubliclyAccessible(value); return *this;}
50
52
56 inline long long GetPubliclyReadable() const{ return m_publiclyReadable; }
57 inline bool PubliclyReadableHasBeenSet() const { return m_publiclyReadableHasBeenSet; }
58 inline void SetPubliclyReadable(long long value) { m_publiclyReadableHasBeenSet = true; m_publiclyReadable = value; }
59 inline BucketCountByEffectivePermission& WithPubliclyReadable(long long value) { SetPubliclyReadable(value); return *this;}
61
63
67 inline long long GetPubliclyWritable() const{ return m_publiclyWritable; }
68 inline bool PubliclyWritableHasBeenSet() const { return m_publiclyWritableHasBeenSet; }
69 inline void SetPubliclyWritable(long long value) { m_publiclyWritableHasBeenSet = true; m_publiclyWritable = value; }
70 inline BucketCountByEffectivePermission& WithPubliclyWritable(long long value) { SetPubliclyWritable(value); return *this;}
72
74
79 inline long long GetUnknown() const{ return m_unknown; }
80 inline bool UnknownHasBeenSet() const { return m_unknownHasBeenSet; }
81 inline void SetUnknown(long long value) { m_unknownHasBeenSet = true; m_unknown = value; }
82 inline BucketCountByEffectivePermission& WithUnknown(long long value) { SetUnknown(value); return *this;}
84 private:
85
86 long long m_publiclyAccessible;
87 bool m_publiclyAccessibleHasBeenSet = false;
88
89 long long m_publiclyReadable;
90 bool m_publiclyReadableHasBeenSet = false;
91
92 long long m_publiclyWritable;
93 bool m_publiclyWritableHasBeenSet = false;
94
95 long long m_unknown;
96 bool m_unknownHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Macie2
101} // 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