AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/BucketLevelPermissions.h>
9#include <aws/guardduty/model/AccountLevelPermissions.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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API PermissionConfiguration();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const BucketLevelPermissions& GetBucketLevelPermissions() const{ return m_bucketLevelPermissions; }
48 inline bool BucketLevelPermissionsHasBeenSet() const { return m_bucketLevelPermissionsHasBeenSet; }
49 inline void SetBucketLevelPermissions(const BucketLevelPermissions& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = value; }
50 inline void SetBucketLevelPermissions(BucketLevelPermissions&& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = std::move(value); }
54
56
60 inline const AccountLevelPermissions& GetAccountLevelPermissions() const{ return m_accountLevelPermissions; }
61 inline bool AccountLevelPermissionsHasBeenSet() const { return m_accountLevelPermissionsHasBeenSet; }
62 inline void SetAccountLevelPermissions(const AccountLevelPermissions& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = value; }
63 inline void SetAccountLevelPermissions(AccountLevelPermissions&& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = std::move(value); }
67 private:
68
69 BucketLevelPermissions m_bucketLevelPermissions;
70 bool m_bucketLevelPermissionsHasBeenSet = false;
71
72 AccountLevelPermissions m_accountLevelPermissions;
73 bool m_accountLevelPermissionsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
AWS_GUARDDUTY_API PermissionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountLevelPermissions(const AccountLevelPermissions &value)
AWS_GUARDDUTY_API PermissionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const BucketLevelPermissions & GetBucketLevelPermissions() const
PermissionConfiguration & WithAccountLevelPermissions(const AccountLevelPermissions &value)
void SetAccountLevelPermissions(AccountLevelPermissions &&value)
const AccountLevelPermissions & GetAccountLevelPermissions() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
PermissionConfiguration & WithAccountLevelPermissions(AccountLevelPermissions &&value)
void SetBucketLevelPermissions(BucketLevelPermissions &&value)
PermissionConfiguration & WithBucketLevelPermissions(BucketLevelPermissions &&value)
PermissionConfiguration & WithBucketLevelPermissions(const BucketLevelPermissions &value)
void SetBucketLevelPermissions(const BucketLevelPermissions &value)
Aws::Utils::Json::JsonValue JsonValue