/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the account level permissions on the S3
* bucket.See Also:
AWS
* API Reference
Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline const BlockPublicAccess& GetBlockPublicAccess() const{ return m_blockPublicAccess; } /** *Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline bool BlockPublicAccessHasBeenSet() const { return m_blockPublicAccessHasBeenSet; } /** *Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline void SetBlockPublicAccess(const BlockPublicAccess& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = value; } /** *Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline void SetBlockPublicAccess(BlockPublicAccess&& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = std::move(value); } /** *Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline AccountLevelPermissions& WithBlockPublicAccess(const BlockPublicAccess& value) { SetBlockPublicAccess(value); return *this;} /** *Describes the S3 Block Public Access settings of the bucket's parent * account.
*/ inline AccountLevelPermissions& WithBlockPublicAccess(BlockPublicAccess&& value) { SetBlockPublicAccess(std::move(value)); return *this;} private: BlockPublicAccess m_blockPublicAccess; bool m_blockPublicAccessHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws