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