/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the permissions settings that determine whether an
* S3 bucket is publicly accessible.See Also:
AWS
* API Reference
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
Specifies whether the bucket is publicly accessible due to the combination of * permissions settings that apply to the bucket. Possible values are:
*NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - * Amazon Macie can't determine whether the bucket is publicly * accessible.
The account-level and bucket-level permissions settings for the bucket.
*/ inline const BucketPermissionConfiguration& GetPermissionConfiguration() const{ return m_permissionConfiguration; } /** *The account-level and bucket-level permissions settings for the bucket.
*/ inline bool PermissionConfigurationHasBeenSet() const { return m_permissionConfigurationHasBeenSet; } /** *The account-level and bucket-level permissions settings for the bucket.
*/ inline void SetPermissionConfiguration(const BucketPermissionConfiguration& value) { m_permissionConfigurationHasBeenSet = true; m_permissionConfiguration = value; } /** *The account-level and bucket-level permissions settings for the bucket.
*/ inline void SetPermissionConfiguration(BucketPermissionConfiguration&& value) { m_permissionConfigurationHasBeenSet = true; m_permissionConfiguration = std::move(value); } /** *The account-level and bucket-level permissions settings for the bucket.
*/ inline BucketPublicAccess& WithPermissionConfiguration(const BucketPermissionConfiguration& value) { SetPermissionConfiguration(value); return *this;} /** *The account-level and bucket-level permissions settings for the bucket.
*/ inline BucketPublicAccess& WithPermissionConfiguration(BucketPermissionConfiguration&& value) { SetPermissionConfiguration(std::move(value)); return *this;} private: EffectivePermission m_effectivePermission; bool m_effectivePermissionHasBeenSet = false; BucketPermissionConfiguration m_permissionConfiguration; bool m_permissionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws