AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessControlList.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
31 {
32 public:
33 AWS_MACIE2_API AccessControlList();
36 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetAllowsPublicReadAccess() const{ return m_allowsPublicReadAccess; }
45 inline bool AllowsPublicReadAccessHasBeenSet() const { return m_allowsPublicReadAccessHasBeenSet; }
46 inline void SetAllowsPublicReadAccess(bool value) { m_allowsPublicReadAccessHasBeenSet = true; m_allowsPublicReadAccess = value; }
47 inline AccessControlList& WithAllowsPublicReadAccess(bool value) { SetAllowsPublicReadAccess(value); return *this;}
49
51
55 inline bool GetAllowsPublicWriteAccess() const{ return m_allowsPublicWriteAccess; }
56 inline bool AllowsPublicWriteAccessHasBeenSet() const { return m_allowsPublicWriteAccessHasBeenSet; }
57 inline void SetAllowsPublicWriteAccess(bool value) { m_allowsPublicWriteAccessHasBeenSet = true; m_allowsPublicWriteAccess = value; }
60 private:
61
62 bool m_allowsPublicReadAccess;
63 bool m_allowsPublicReadAccessHasBeenSet = false;
64
65 bool m_allowsPublicWriteAccess;
66 bool m_allowsPublicWriteAccessHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Macie2
71} // namespace Aws
AccessControlList & WithAllowsPublicWriteAccess(bool value)
AccessControlList & WithAllowsPublicReadAccess(bool value)
AWS_MACIE2_API AccessControlList(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AccessControlList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue