AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketPermissionConfiguration.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/AccountLevelPermissions.h>
9#include <aws/macie2/model/BucketLevelPermissions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AccountLevelPermissions& GetAccountLevelPermissions() const{ return m_accountLevelPermissions; }
47 inline bool AccountLevelPermissionsHasBeenSet() const { return m_accountLevelPermissionsHasBeenSet; }
48 inline void SetAccountLevelPermissions(const AccountLevelPermissions& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = value; }
49 inline void SetAccountLevelPermissions(AccountLevelPermissions&& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = std::move(value); }
53
55
58 inline const BucketLevelPermissions& GetBucketLevelPermissions() const{ return m_bucketLevelPermissions; }
59 inline bool BucketLevelPermissionsHasBeenSet() const { return m_bucketLevelPermissionsHasBeenSet; }
60 inline void SetBucketLevelPermissions(const BucketLevelPermissions& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = value; }
61 inline void SetBucketLevelPermissions(BucketLevelPermissions&& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = std::move(value); }
65 private:
66
67 AccountLevelPermissions m_accountLevelPermissions;
68 bool m_accountLevelPermissionsHasBeenSet = false;
69
70 BucketLevelPermissions m_bucketLevelPermissions;
71 bool m_bucketLevelPermissionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Macie2
76} // namespace Aws
void SetAccountLevelPermissions(const AccountLevelPermissions &value)
BucketPermissionConfiguration & WithBucketLevelPermissions(BucketLevelPermissions &&value)
const AccountLevelPermissions & GetAccountLevelPermissions() const
BucketPermissionConfiguration & WithAccountLevelPermissions(AccountLevelPermissions &&value)
BucketPermissionConfiguration & WithBucketLevelPermissions(const BucketLevelPermissions &value)
AWS_MACIE2_API BucketPermissionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketPermissionConfiguration & WithAccountLevelPermissions(const AccountLevelPermissions &value)
void SetAccountLevelPermissions(AccountLevelPermissions &&value)
AWS_MACIE2_API BucketPermissionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBucketLevelPermissions(const BucketLevelPermissions &value)
const BucketLevelPermissions & GetBucketLevelPermissions() const
Aws::Utils::Json::JsonValue JsonValue