/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A filter that you can use to specify whether replica modification sync is
* enabled. S3 on Outposts replica modification sync can help you keep object
* metadata synchronized between replicas and source objects. By default, S3 on
* Outposts replicates metadata from the source objects to the replicas only. When
* replica modification sync is enabled, S3 on Outposts replicates metadata changes
* made to the replica copies back to the source object, making the replication
* bidirectional. To replicate object metadata modifications on replicas,
* you can specify this element and set the You must enable replica modification sync on
* the source and destination buckets to replicate replica metadata changes between
* the source and the replicas.Status
of this element to
* Enabled
.See Also:
AWS
* API Reference
Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline const ReplicaModificationsStatus& GetStatus() const{ return m_status; } /** *Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline void SetStatus(const ReplicaModificationsStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline void SetStatus(ReplicaModificationsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline ReplicaModifications& WithStatus(const ReplicaModificationsStatus& value) { SetStatus(value); return *this;} /** *Specifies whether S3 on Outposts replicates modifications to object metadata * on replicas.
*/ inline ReplicaModifications& WithStatus(ReplicaModificationsStatus&& value) { SetStatus(std::move(value)); return *this;} private: ReplicaModificationsStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws