/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A Replay
object that contains details about a
* replay.See Also:
AWS
* API Reference
The name of the replay.
*/ inline const Aws::String& GetReplayName() const{ return m_replayName; } /** *The name of the replay.
*/ inline bool ReplayNameHasBeenSet() const { return m_replayNameHasBeenSet; } /** *The name of the replay.
*/ inline void SetReplayName(const Aws::String& value) { m_replayNameHasBeenSet = true; m_replayName = value; } /** *The name of the replay.
*/ inline void SetReplayName(Aws::String&& value) { m_replayNameHasBeenSet = true; m_replayName = std::move(value); } /** *The name of the replay.
*/ inline void SetReplayName(const char* value) { m_replayNameHasBeenSet = true; m_replayName.assign(value); } /** *The name of the replay.
*/ inline Replay& WithReplayName(const Aws::String& value) { SetReplayName(value); return *this;} /** *The name of the replay.
*/ inline Replay& WithReplayName(Aws::String&& value) { SetReplayName(std::move(value)); return *this;} /** *The name of the replay.
*/ inline Replay& WithReplayName(const char* value) { SetReplayName(value); return *this;} /** *The ARN of the archive to replay event from.
*/ inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; } /** *The ARN of the archive to replay event from.
*/ inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; } /** *The ARN of the archive to replay event from.
*/ inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; } /** *The ARN of the archive to replay event from.
*/ inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::move(value); } /** *The ARN of the archive to replay event from.
*/ inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); } /** *The ARN of the archive to replay event from.
*/ inline Replay& WithEventSourceArn(const Aws::String& value) { SetEventSourceArn(value); return *this;} /** *The ARN of the archive to replay event from.
*/ inline Replay& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;} /** *The ARN of the archive to replay event from.
*/ inline Replay& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;} /** *The current state of the replay.
*/ inline const ReplayState& GetState() const{ return m_state; } /** *The current state of the replay.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the replay.
*/ inline void SetState(const ReplayState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the replay.
*/ inline void SetState(ReplayState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the replay.
*/ inline Replay& WithState(const ReplayState& value) { SetState(value); return *this;} /** *The current state of the replay.
*/ inline Replay& WithState(ReplayState&& value) { SetState(std::move(value)); return *this;} /** *A description of why the replay is in the current state.
*/ inline const Aws::String& GetStateReason() const{ return m_stateReason; } /** *A description of why the replay is in the current state.
*/ inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; } /** *A description of why the replay is in the current state.
*/ inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; } /** *A description of why the replay is in the current state.
*/ inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); } /** *A description of why the replay is in the current state.
*/ inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); } /** *A description of why the replay is in the current state.
*/ inline Replay& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;} /** *A description of why the replay is in the current state.
*/ inline Replay& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;} /** *A description of why the replay is in the current state.
*/ inline Replay& WithStateReason(const char* value) { SetStateReason(value); return *this;} /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline const Aws::Utils::DateTime& GetEventStartTime() const{ return m_eventStartTime; } /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline bool EventStartTimeHasBeenSet() const { return m_eventStartTimeHasBeenSet; } /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline void SetEventStartTime(const Aws::Utils::DateTime& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = value; } /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline void SetEventStartTime(Aws::Utils::DateTime&& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = std::move(value); } /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline Replay& WithEventStartTime(const Aws::Utils::DateTime& value) { SetEventStartTime(value); return *this;} /** *A time stamp for the time to start replaying events. This is determined by * the time in the event as described in Time.
*/ inline Replay& WithEventStartTime(Aws::Utils::DateTime&& value) { SetEventStartTime(std::move(value)); return *this;} /** *A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time to start replaying events. Any event with a
* creation time prior to the EventEndTime
specified is replayed.
A time stamp for the time that the last event was replayed.
*/ inline const Aws::Utils::DateTime& GetEventLastReplayedTime() const{ return m_eventLastReplayedTime; } /** *A time stamp for the time that the last event was replayed.
*/ inline bool EventLastReplayedTimeHasBeenSet() const { return m_eventLastReplayedTimeHasBeenSet; } /** *A time stamp for the time that the last event was replayed.
*/ inline void SetEventLastReplayedTime(const Aws::Utils::DateTime& value) { m_eventLastReplayedTimeHasBeenSet = true; m_eventLastReplayedTime = value; } /** *A time stamp for the time that the last event was replayed.
*/ inline void SetEventLastReplayedTime(Aws::Utils::DateTime&& value) { m_eventLastReplayedTimeHasBeenSet = true; m_eventLastReplayedTime = std::move(value); } /** *A time stamp for the time that the last event was replayed.
*/ inline Replay& WithEventLastReplayedTime(const Aws::Utils::DateTime& value) { SetEventLastReplayedTime(value); return *this;} /** *A time stamp for the time that the last event was replayed.
*/ inline Replay& WithEventLastReplayedTime(Aws::Utils::DateTime&& value) { SetEventLastReplayedTime(std::move(value)); return *this;} /** *A time stamp for the time that the replay started.
*/ inline const Aws::Utils::DateTime& GetReplayStartTime() const{ return m_replayStartTime; } /** *A time stamp for the time that the replay started.
*/ inline bool ReplayStartTimeHasBeenSet() const { return m_replayStartTimeHasBeenSet; } /** *A time stamp for the time that the replay started.
*/ inline void SetReplayStartTime(const Aws::Utils::DateTime& value) { m_replayStartTimeHasBeenSet = true; m_replayStartTime = value; } /** *A time stamp for the time that the replay started.
*/ inline void SetReplayStartTime(Aws::Utils::DateTime&& value) { m_replayStartTimeHasBeenSet = true; m_replayStartTime = std::move(value); } /** *A time stamp for the time that the replay started.
*/ inline Replay& WithReplayStartTime(const Aws::Utils::DateTime& value) { SetReplayStartTime(value); return *this;} /** *A time stamp for the time that the replay started.
*/ inline Replay& WithReplayStartTime(Aws::Utils::DateTime&& value) { SetReplayStartTime(std::move(value)); return *this;} /** *A time stamp for the time that the replay completed.
*/ inline const Aws::Utils::DateTime& GetReplayEndTime() const{ return m_replayEndTime; } /** *A time stamp for the time that the replay completed.
*/ inline bool ReplayEndTimeHasBeenSet() const { return m_replayEndTimeHasBeenSet; } /** *A time stamp for the time that the replay completed.
*/ inline void SetReplayEndTime(const Aws::Utils::DateTime& value) { m_replayEndTimeHasBeenSet = true; m_replayEndTime = value; } /** *A time stamp for the time that the replay completed.
*/ inline void SetReplayEndTime(Aws::Utils::DateTime&& value) { m_replayEndTimeHasBeenSet = true; m_replayEndTime = std::move(value); } /** *A time stamp for the time that the replay completed.
*/ inline Replay& WithReplayEndTime(const Aws::Utils::DateTime& value) { SetReplayEndTime(value); return *this;} /** *A time stamp for the time that the replay completed.
*/ inline Replay& WithReplayEndTime(Aws::Utils::DateTime&& value) { SetReplayEndTime(std::move(value)); return *this;} private: Aws::String m_replayName; bool m_replayNameHasBeenSet = false; Aws::String m_eventSourceArn; bool m_eventSourceArnHasBeenSet = false; ReplayState m_state; bool m_stateHasBeenSet = false; Aws::String m_stateReason; bool m_stateReasonHasBeenSet = false; Aws::Utils::DateTime m_eventStartTime; bool m_eventStartTimeHasBeenSet = false; Aws::Utils::DateTime m_eventEndTime; bool m_eventEndTimeHasBeenSet = false; Aws::Utils::DateTime m_eventLastReplayedTime; bool m_eventLastReplayedTimeHasBeenSet = false; Aws::Utils::DateTime m_replayStartTime; bool m_replayStartTimeHasBeenSet = false; Aws::Utils::DateTime m_replayEndTime; bool m_replayEndTimeHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws