AWS SDK for C++  1.9.104
AWS SDK for C++
BucketPermissionConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Macie2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const AccountLevelPermissions& GetAccountLevelPermissions() const{ return m_accountLevelPermissions; }
46 
50  inline bool AccountLevelPermissionsHasBeenSet() const { return m_accountLevelPermissionsHasBeenSet; }
51 
55  inline void SetAccountLevelPermissions(const AccountLevelPermissions& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = value; }
56 
60  inline void SetAccountLevelPermissions(AccountLevelPermissions&& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = std::move(value); }
61 
65  inline BucketPermissionConfiguration& WithAccountLevelPermissions(const AccountLevelPermissions& value) { SetAccountLevelPermissions(value); return *this;}
66 
70  inline BucketPermissionConfiguration& WithAccountLevelPermissions(AccountLevelPermissions&& value) { SetAccountLevelPermissions(std::move(value)); return *this;}
71 
72 
76  inline const BucketLevelPermissions& GetBucketLevelPermissions() const{ return m_bucketLevelPermissions; }
77 
81  inline bool BucketLevelPermissionsHasBeenSet() const { return m_bucketLevelPermissionsHasBeenSet; }
82 
86  inline void SetBucketLevelPermissions(const BucketLevelPermissions& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = value; }
87 
91  inline void SetBucketLevelPermissions(BucketLevelPermissions&& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = std::move(value); }
92 
96  inline BucketPermissionConfiguration& WithBucketLevelPermissions(const BucketLevelPermissions& value) { SetBucketLevelPermissions(value); return *this;}
97 
101  inline BucketPermissionConfiguration& WithBucketLevelPermissions(BucketLevelPermissions&& value) { SetBucketLevelPermissions(std::move(value)); return *this;}
102 
103  private:
104 
105  AccountLevelPermissions m_accountLevelPermissions;
106  bool m_accountLevelPermissionsHasBeenSet;
107 
108  BucketLevelPermissions m_bucketLevelPermissions;
109  bool m_bucketLevelPermissionsHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace Macie2
114 } // namespace Aws
Aws::Macie2::Model::BucketLevelPermissions
Definition: BucketLevelPermissions.h:35
Aws::Macie2::Model::BucketPermissionConfiguration::WithAccountLevelPermissions
BucketPermissionConfiguration & WithAccountLevelPermissions(const AccountLevelPermissions &value)
Definition: BucketPermissionConfiguration.h:65
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::BucketPermissionConfiguration
Definition: BucketPermissionConfiguration.h:34
Aws::Macie2::Model::BucketPermissionConfiguration::BucketPermissionConfiguration
BucketPermissionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Macie2_EXPORTS.h
Aws::Macie2::Model::BucketPermissionConfiguration::BucketLevelPermissionsHasBeenSet
bool BucketLevelPermissionsHasBeenSet() const
Definition: BucketPermissionConfiguration.h:81
Aws::Macie2::Model::BucketPermissionConfiguration::GetBucketLevelPermissions
const BucketLevelPermissions & GetBucketLevelPermissions() const
Definition: BucketPermissionConfiguration.h:76
Aws::Macie2::Model::AccountLevelPermissions
Definition: AccountLevelPermissions.h:33
Aws::Macie2::Model::BucketPermissionConfiguration::WithBucketLevelPermissions
BucketPermissionConfiguration & WithBucketLevelPermissions(const BucketLevelPermissions &value)
Definition: BucketPermissionConfiguration.h:96
Aws::Macie2::Model::BucketPermissionConfiguration::SetBucketLevelPermissions
void SetBucketLevelPermissions(const BucketLevelPermissions &value)
Definition: BucketPermissionConfiguration.h:86
Aws::Macie2::Model::BucketPermissionConfiguration::SetBucketLevelPermissions
void SetBucketLevelPermissions(BucketLevelPermissions &&value)
Definition: BucketPermissionConfiguration.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::BucketPermissionConfiguration::AccountLevelPermissionsHasBeenSet
bool AccountLevelPermissionsHasBeenSet() const
Definition: BucketPermissionConfiguration.h:50
Aws::Macie2::Model::BucketPermissionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::BucketPermissionConfiguration::SetAccountLevelPermissions
void SetAccountLevelPermissions(AccountLevelPermissions &&value)
Definition: BucketPermissionConfiguration.h:60
Aws::Macie2::Model::BucketPermissionConfiguration::operator=
BucketPermissionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::BucketPermissionConfiguration::WithBucketLevelPermissions
BucketPermissionConfiguration & WithBucketLevelPermissions(BucketLevelPermissions &&value)
Definition: BucketPermissionConfiguration.h:101
Aws::Macie2::Model::BucketPermissionConfiguration::SetAccountLevelPermissions
void SetAccountLevelPermissions(const AccountLevelPermissions &value)
Definition: BucketPermissionConfiguration.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::BucketPermissionConfiguration::BucketPermissionConfiguration
BucketPermissionConfiguration()
Aws::Macie2::Model::BucketPermissionConfiguration::WithAccountLevelPermissions
BucketPermissionConfiguration & WithAccountLevelPermissions(AccountLevelPermissions &&value)
Definition: BucketPermissionConfiguration.h:70
BucketLevelPermissions.h
AccountLevelPermissions.h
Aws::Macie2::Model::BucketPermissionConfiguration::GetAccountLevelPermissions
const AccountLevelPermissions & GetAccountLevelPermissions() const
Definition: BucketPermissionConfiguration.h:45