AWS SDK for C++  1.9.21
AWS SDK for C++
PermissionConfiguration.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 GuardDuty
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const BucketLevelPermissions& GetBucketLevelPermissions() const{ return m_bucketLevelPermissions; }
47 
52  inline bool BucketLevelPermissionsHasBeenSet() const { return m_bucketLevelPermissionsHasBeenSet; }
53 
58  inline void SetBucketLevelPermissions(const BucketLevelPermissions& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = value; }
59 
64  inline void SetBucketLevelPermissions(BucketLevelPermissions&& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = std::move(value); }
65 
70  inline PermissionConfiguration& WithBucketLevelPermissions(const BucketLevelPermissions& value) { SetBucketLevelPermissions(value); return *this;}
71 
76  inline PermissionConfiguration& WithBucketLevelPermissions(BucketLevelPermissions&& value) { SetBucketLevelPermissions(std::move(value)); return *this;}
77 
78 
83  inline const AccountLevelPermissions& GetAccountLevelPermissions() const{ return m_accountLevelPermissions; }
84 
89  inline bool AccountLevelPermissionsHasBeenSet() const { return m_accountLevelPermissionsHasBeenSet; }
90 
95  inline void SetAccountLevelPermissions(const AccountLevelPermissions& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = value; }
96 
101  inline void SetAccountLevelPermissions(AccountLevelPermissions&& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = std::move(value); }
102 
107  inline PermissionConfiguration& WithAccountLevelPermissions(const AccountLevelPermissions& value) { SetAccountLevelPermissions(value); return *this;}
108 
113  inline PermissionConfiguration& WithAccountLevelPermissions(AccountLevelPermissions&& value) { SetAccountLevelPermissions(std::move(value)); return *this;}
114 
115  private:
116 
117  BucketLevelPermissions m_bucketLevelPermissions;
118  bool m_bucketLevelPermissionsHasBeenSet;
119 
120  AccountLevelPermissions m_accountLevelPermissions;
121  bool m_accountLevelPermissionsHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace GuardDuty
126 } // namespace Aws
Aws::GuardDuty::Model::PermissionConfiguration::SetBucketLevelPermissions
void SetBucketLevelPermissions(const BucketLevelPermissions &value)
Definition: PermissionConfiguration.h:58
Aws::GuardDuty::Model::PermissionConfiguration::WithAccountLevelPermissions
PermissionConfiguration & WithAccountLevelPermissions(const AccountLevelPermissions &value)
Definition: PermissionConfiguration.h:107
Aws::GuardDuty::Model::BucketLevelPermissions
Definition: BucketLevelPermissions.h:35
Aws::GuardDuty::Model::PermissionConfiguration::WithBucketLevelPermissions
PermissionConfiguration & WithBucketLevelPermissions(BucketLevelPermissions &&value)
Definition: PermissionConfiguration.h:76
Aws::GuardDuty::Model::PermissionConfiguration::SetAccountLevelPermissions
void SetAccountLevelPermissions(const AccountLevelPermissions &value)
Definition: PermissionConfiguration.h:95
Aws::GuardDuty::Model::PermissionConfiguration::operator=
PermissionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::PermissionConfiguration::AccountLevelPermissionsHasBeenSet
bool AccountLevelPermissionsHasBeenSet() const
Definition: PermissionConfiguration.h:89
Aws::GuardDuty::Model::AccountLevelPermissions
Definition: AccountLevelPermissions.h:33
Aws::GuardDuty::Model::PermissionConfiguration::SetBucketLevelPermissions
void SetBucketLevelPermissions(BucketLevelPermissions &&value)
Definition: PermissionConfiguration.h:64
Aws::GuardDuty::Model::PermissionConfiguration
Definition: PermissionConfiguration.h:34
Aws::GuardDuty::Model::PermissionConfiguration::GetAccountLevelPermissions
const AccountLevelPermissions & GetAccountLevelPermissions() const
Definition: PermissionConfiguration.h:83
Aws::GuardDuty::Model::PermissionConfiguration::WithAccountLevelPermissions
PermissionConfiguration & WithAccountLevelPermissions(AccountLevelPermissions &&value)
Definition: PermissionConfiguration.h:113
GuardDuty_EXPORTS.h
AccountLevelPermissions.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::PermissionConfiguration::PermissionConfiguration
PermissionConfiguration()
Aws::GuardDuty::Model::PermissionConfiguration::WithBucketLevelPermissions
PermissionConfiguration & WithBucketLevelPermissions(const BucketLevelPermissions &value)
Definition: PermissionConfiguration.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::PermissionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::PermissionConfiguration::SetAccountLevelPermissions
void SetAccountLevelPermissions(AccountLevelPermissions &&value)
Definition: PermissionConfiguration.h:101
Aws::GuardDuty::Model::PermissionConfiguration::GetBucketLevelPermissions
const BucketLevelPermissions & GetBucketLevelPermissions() const
Definition: PermissionConfiguration.h:46
Aws::GuardDuty::Model::PermissionConfiguration::BucketLevelPermissionsHasBeenSet
bool BucketLevelPermissionsHasBeenSet() const
Definition: PermissionConfiguration.h:52
BucketLevelPermissions.h
Aws::GuardDuty::Model::PermissionConfiguration::PermissionConfiguration
PermissionConfiguration(Aws::Utils::Json::JsonView jsonValue)