/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Endpoints can replicate all events to the secondary Region.See
* Also:
AWS
* API Reference
The state of event replication.
*/ inline const ReplicationState& GetState() const{ return m_state; } /** *The state of event replication.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of event replication.
*/ inline void SetState(const ReplicationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of event replication.
*/ inline void SetState(ReplicationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of event replication.
*/ inline ReplicationConfig& WithState(const ReplicationState& value) { SetState(value); return *this;} /** *The state of event replication.
*/ inline ReplicationConfig& WithState(ReplicationState&& value) { SetState(std::move(value)); return *this;} private: ReplicationState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws