7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/ReplayDestination.h>
12#include <aws/eventbridge/model/ReplayState.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace EventBridge {
38 template <
typename ReplayNameT = Aws::String>
40 m_replayNameHasBeenSet =
true;
41 m_replayName = std::forward<ReplayNameT>(value);
43 template <
typename ReplayNameT = Aws::String>
55 template <
typename ReplayArnT = Aws::String>
57 m_replayArnHasBeenSet =
true;
58 m_replayArn = std::forward<ReplayArnT>(value);
60 template <
typename ReplayArnT = Aws::String>
72 template <
typename DescriptionT = Aws::String>
74 m_descriptionHasBeenSet =
true;
75 m_description = std::forward<DescriptionT>(value);
77 template <
typename DescriptionT = Aws::String>
90 m_stateHasBeenSet =
true;
104 template <
typename StateReasonT = Aws::String>
106 m_stateReasonHasBeenSet =
true;
107 m_stateReason = std::forward<StateReasonT>(value);
109 template <
typename StateReasonT = Aws::String>
121 template <
typename EventSourceArnT = Aws::String>
123 m_eventSourceArnHasBeenSet =
true;
124 m_eventSourceArn = std::forward<EventSourceArnT>(value);
126 template <
typename EventSourceArnT = Aws::String>
139 template <
typename DestinationT = ReplayDestination>
141 m_destinationHasBeenSet =
true;
142 m_destination = std::forward<DestinationT>(value);
144 template <
typename DestinationT = ReplayDestination>
157 template <
typename EventStartTimeT = Aws::Utils::DateTime>
159 m_eventStartTimeHasBeenSet =
true;
160 m_eventStartTime = std::forward<EventStartTimeT>(value);
162 template <
typename EventStartTimeT = Aws::Utils::DateTime>
174 template <
typename EventEndTimeT = Aws::Utils::DateTime>
176 m_eventEndTimeHasBeenSet =
true;
177 m_eventEndTime = std::forward<EventEndTimeT>(value);
179 template <
typename EventEndTimeT = Aws::Utils::DateTime>
191 template <
typename EventLastReplayedTimeT = Aws::Utils::DateTime>
193 m_eventLastReplayedTimeHasBeenSet =
true;
194 m_eventLastReplayedTime = std::forward<EventLastReplayedTimeT>(value);
196 template <
typename EventLastReplayedTimeT = Aws::Utils::DateTime>
208 template <
typename ReplayStartTimeT = Aws::Utils::DateTime>
210 m_replayStartTimeHasBeenSet =
true;
211 m_replayStartTime = std::forward<ReplayStartTimeT>(value);
213 template <
typename ReplayStartTimeT = Aws::Utils::DateTime>
225 template <
typename ReplayEndTimeT = Aws::Utils::DateTime>
227 m_replayEndTimeHasBeenSet =
true;
228 m_replayEndTime = std::forward<ReplayEndTimeT>(value);
230 template <
typename ReplayEndTimeT = Aws::Utils::DateTime>
240 template <
typename RequestIdT = Aws::String>
242 m_requestIdHasBeenSet =
true;
243 m_requestId = std::forward<RequestIdT>(value);
245 template <
typename RequestIdT = Aws::String>
266 ReplayDestination m_destination;
280 bool m_replayNameHasBeenSet =
false;
281 bool m_replayArnHasBeenSet =
false;
282 bool m_descriptionHasBeenSet =
false;
283 bool m_stateHasBeenSet =
false;
284 bool m_stateReasonHasBeenSet =
false;
285 bool m_eventSourceArnHasBeenSet =
false;
286 bool m_destinationHasBeenSet =
false;
287 bool m_eventStartTimeHasBeenSet =
false;
288 bool m_eventEndTimeHasBeenSet =
false;
289 bool m_eventLastReplayedTimeHasBeenSet =
false;
290 bool m_replayStartTimeHasBeenSet =
false;
291 bool m_replayEndTimeHasBeenSet =
false;
292 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetEventLastReplayedTime() const
void SetStateReason(StateReasonT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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