7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ReplayState.h>
10#include <aws/eventbridge/model/ReplayDestination.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ReplayNameT = Aws::String>
44 void SetReplayName(ReplayNameT&& value) { m_replayNameHasBeenSet =
true; m_replayName = std::forward<ReplayNameT>(value); }
45 template<
typename ReplayNameT = Aws::String>
54 template<
typename ReplayArnT = Aws::String>
55 void SetReplayArn(ReplayArnT&& value) { m_replayArnHasBeenSet =
true; m_replayArn = std::forward<ReplayArnT>(value); }
56 template<
typename ReplayArnT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
85 template<
typename StateReasonT = Aws::String>
86 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
87 template<
typename StateReasonT = Aws::String>
96 template<
typename EventSourceArnT = Aws::String>
97 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
98 template<
typename EventSourceArnT = Aws::String>
108 template<
typename DestinationT = ReplayDestination>
109 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
110 template<
typename DestinationT = ReplayDestination>
120 template<
typename EventStartTimeT = Aws::Utils::DateTime>
121 void SetEventStartTime(EventStartTimeT&& value) { m_eventStartTimeHasBeenSet =
true; m_eventStartTime = std::forward<EventStartTimeT>(value); }
122 template<
typename EventStartTimeT = Aws::Utils::DateTime>
131 template<
typename EventEndTimeT = Aws::Utils::DateTime>
132 void SetEventEndTime(EventEndTimeT&& value) { m_eventEndTimeHasBeenSet =
true; m_eventEndTime = std::forward<EventEndTimeT>(value); }
133 template<
typename EventEndTimeT = Aws::Utils::DateTime>
142 template<
typename EventLastReplayedTimeT = Aws::Utils::DateTime>
143 void SetEventLastReplayedTime(EventLastReplayedTimeT&& value) { m_eventLastReplayedTimeHasBeenSet =
true; m_eventLastReplayedTime = std::forward<EventLastReplayedTimeT>(value); }
144 template<
typename EventLastReplayedTimeT = Aws::Utils::DateTime>
153 template<
typename ReplayStartTimeT = Aws::Utils::DateTime>
154 void SetReplayStartTime(ReplayStartTimeT&& value) { m_replayStartTimeHasBeenSet =
true; m_replayStartTime = std::forward<ReplayStartTimeT>(value); }
155 template<
typename ReplayStartTimeT = Aws::Utils::DateTime>
164 template<
typename ReplayEndTimeT = Aws::Utils::DateTime>
165 void SetReplayEndTime(ReplayEndTimeT&& value) { m_replayEndTimeHasBeenSet =
true; m_replayEndTime = std::forward<ReplayEndTimeT>(value); }
166 template<
typename ReplayEndTimeT = Aws::Utils::DateTime>
173 template<
typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
175 template<
typename RequestIdT = Aws::String>
181 bool m_replayNameHasBeenSet =
false;
184 bool m_replayArnHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
190 bool m_stateHasBeenSet =
false;
193 bool m_stateReasonHasBeenSet =
false;
196 bool m_eventSourceArnHasBeenSet =
false;
198 ReplayDestination m_destination;
199 bool m_destinationHasBeenSet =
false;
202 bool m_eventStartTimeHasBeenSet =
false;
205 bool m_eventEndTimeHasBeenSet =
false;
208 bool m_eventLastReplayedTimeHasBeenSet =
false;
211 bool m_replayStartTimeHasBeenSet =
false;
214 bool m_replayEndTimeHasBeenSet =
false;
217 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetEventLastReplayedTime() const
void SetStateReason(StateReasonT &&value)
AWS_EVENTBRIDGE_API DescribeReplayResult()=default
DescribeReplayResult & WithRequestId(RequestIdT &&value)
void SetEventEndTime(EventEndTimeT &&value)
DescribeReplayResult & WithReplayEndTime(ReplayEndTimeT &&value)
DescribeReplayResult & WithDescription(DescriptionT &&value)
void SetReplayArn(ReplayArnT &&value)
void SetReplayEndTime(ReplayEndTimeT &&value)
const Aws::String & GetReplayArn() const
void SetReplayName(ReplayNameT &&value)
DescribeReplayResult & WithEventStartTime(EventStartTimeT &&value)
const Aws::String & GetDescription() const
DescribeReplayResult & WithReplayName(ReplayNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetReplayStartTime() const
const Aws::Utils::DateTime & GetEventStartTime() const
const Aws::String & GetStateReason() const
const Aws::String & GetReplayName() const
void SetEventSourceArn(EventSourceArnT &&value)
const ReplayDestination & GetDestination() const
DescribeReplayResult & WithState(ReplayState value)
AWS_EVENTBRIDGE_API DescribeReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplayResult & WithReplayStartTime(ReplayStartTimeT &&value)
void SetReplayStartTime(ReplayStartTimeT &&value)
void SetEventStartTime(EventStartTimeT &&value)
void SetDestination(DestinationT &&value)
DescribeReplayResult & WithEventSourceArn(EventSourceArnT &&value)
DescribeReplayResult & WithEventEndTime(EventEndTimeT &&value)
DescribeReplayResult & WithReplayArn(ReplayArnT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetReplayEndTime() const
DescribeReplayResult & WithEventLastReplayedTime(EventLastReplayedTimeT &&value)
void SetState(ReplayState value)
void SetRequestId(RequestIdT &&value)
DescribeReplayResult & WithStateReason(StateReasonT &&value)
const Aws::String & GetEventSourceArn() const
void SetEventLastReplayedTime(EventLastReplayedTimeT &&value)
ReplayState GetState() const
AWS_EVENTBRIDGE_API DescribeReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetEventEndTime() const
DescribeReplayResult & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue