/**
* 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 permissions settings that apply
* to an S3 bucket.See Also:
AWS
* API Reference
The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline const BlockPublicAccess& GetBlockPublicAccess() const{ return m_blockPublicAccess; } /** *The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline bool BlockPublicAccessHasBeenSet() const { return m_blockPublicAccessHasBeenSet; } /** *The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline void SetBlockPublicAccess(const BlockPublicAccess& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = value; } /** *The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline void SetBlockPublicAccess(BlockPublicAccess&& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = std::move(value); } /** *The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline AccountLevelPermissions& WithBlockPublicAccess(const BlockPublicAccess& value) { SetBlockPublicAccess(value); return *this;} /** *The block public access settings for the Amazon Web Services account that * owns the bucket.
*/ inline AccountLevelPermissions& WithBlockPublicAccess(BlockPublicAccess&& value) { SetBlockPublicAccess(std::move(value)); return *this;} private: BlockPublicAccess m_blockPublicAccess; bool m_blockPublicAccessHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws