/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the account-level and bucket-level permissions
* settings for an S3 bucket.See Also:
AWS
* API Reference
The account-level permissions settings that apply to the bucket.
*/ inline const AccountLevelPermissions& GetAccountLevelPermissions() const{ return m_accountLevelPermissions; } /** *The account-level permissions settings that apply to the bucket.
*/ inline bool AccountLevelPermissionsHasBeenSet() const { return m_accountLevelPermissionsHasBeenSet; } /** *The account-level permissions settings that apply to the bucket.
*/ inline void SetAccountLevelPermissions(const AccountLevelPermissions& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = value; } /** *The account-level permissions settings that apply to the bucket.
*/ inline void SetAccountLevelPermissions(AccountLevelPermissions&& value) { m_accountLevelPermissionsHasBeenSet = true; m_accountLevelPermissions = std::move(value); } /** *The account-level permissions settings that apply to the bucket.
*/ inline BucketPermissionConfiguration& WithAccountLevelPermissions(const AccountLevelPermissions& value) { SetAccountLevelPermissions(value); return *this;} /** *The account-level permissions settings that apply to the bucket.
*/ inline BucketPermissionConfiguration& WithAccountLevelPermissions(AccountLevelPermissions&& value) { SetAccountLevelPermissions(std::move(value)); return *this;} /** *The bucket-level permissions settings for the bucket.
*/ inline const BucketLevelPermissions& GetBucketLevelPermissions() const{ return m_bucketLevelPermissions; } /** *The bucket-level permissions settings for the bucket.
*/ inline bool BucketLevelPermissionsHasBeenSet() const { return m_bucketLevelPermissionsHasBeenSet; } /** *The bucket-level permissions settings for the bucket.
*/ inline void SetBucketLevelPermissions(const BucketLevelPermissions& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = value; } /** *The bucket-level permissions settings for the bucket.
*/ inline void SetBucketLevelPermissions(BucketLevelPermissions&& value) { m_bucketLevelPermissionsHasBeenSet = true; m_bucketLevelPermissions = std::move(value); } /** *The bucket-level permissions settings for the bucket.
*/ inline BucketPermissionConfiguration& WithBucketLevelPermissions(const BucketLevelPermissions& value) { SetBucketLevelPermissions(value); return *this;} /** *The bucket-level permissions settings for the bucket.
*/ inline BucketPermissionConfiguration& WithBucketLevelPermissions(BucketLevelPermissions&& value) { SetBucketLevelPermissions(std::move(value)); return *this;} private: AccountLevelPermissions m_accountLevelPermissions; bool m_accountLevelPermissionsHasBeenSet = false; BucketLevelPermissions m_bucketLevelPermissions; bool m_bucketLevelPermissionsHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws