/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies whether S3 on Outposts replicates delete markers. If you specify a
* For more information
* about delete marker replication, see How
* delete operations affect replication in the Amazon S3 User Guide.
* Filter
element in your replication configuration, you must also
* include a DeleteMarkerReplication
element. If your
* Filter
includes a Tag
element, the
* DeleteMarkerReplication
element's Status
child element
* must be set to Disabled
, because S3 on Outposts does not support
* replicating delete markers for tag-based rules.See Also:
AWS
* API Reference
Indicates whether to replicate delete markers.
*/ inline const DeleteMarkerReplicationStatus& GetStatus() const{ return m_status; } /** *Indicates whether to replicate delete markers.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Indicates whether to replicate delete markers.
*/ inline void SetStatus(const DeleteMarkerReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Indicates whether to replicate delete markers.
*/ inline void SetStatus(DeleteMarkerReplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Indicates whether to replicate delete markers.
*/ inline DeleteMarkerReplication& WithStatus(const DeleteMarkerReplicationStatus& value) { SetStatus(value); return *this;} /** *Indicates whether to replicate delete markers.
*/ inline DeleteMarkerReplication& WithStatus(DeleteMarkerReplicationStatus&& value) { SetStatus(std::move(value)); return *this;} private: DeleteMarkerReplicationStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws