/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the versioning state of an Amazon S3 on Outposts bucket. For more
* information, see PutBucketVersioning.See
* Also:
AWS
* API Reference
Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline const MFADelete& GetMFADelete() const{ return m_mFADelete; } /** *Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline bool MFADeleteHasBeenSet() const { return m_mFADeleteHasBeenSet; } /** *Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline void SetMFADelete(const MFADelete& value) { m_mFADeleteHasBeenSet = true; m_mFADelete = value; } /** *Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline void SetMFADelete(MFADelete&& value) { m_mFADeleteHasBeenSet = true; m_mFADelete = std::move(value); } /** *Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline VersioningConfiguration& WithMFADelete(const MFADelete& value) { SetMFADelete(value); return *this;} /** *Specifies whether MFA delete is enabled or disabled in the bucket versioning * configuration for the S3 on Outposts bucket.
*/ inline VersioningConfiguration& WithMFADelete(MFADelete&& value) { SetMFADelete(std::move(value)); return *this;} /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline const BucketVersioningStatus& GetStatus() const{ return m_status; } /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline void SetStatus(const BucketVersioningStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline void SetStatus(BucketVersioningStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline VersioningConfiguration& WithStatus(const BucketVersioningStatus& value) { SetStatus(value); return *this;} /** *Sets the versioning state of the S3 on Outposts bucket.
*/ inline VersioningConfiguration& WithStatus(BucketVersioningStatus&& value) { SetStatus(std::move(value)); return *this;} private: MFADelete m_mFADelete; bool m_mFADeleteHasBeenSet = false; BucketVersioningStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws