AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeReplayResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ReplayState.h>
10#include <aws/events/model/ReplayDestination.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CloudWatchEvents
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDWATCHEVENTS_API DescribeReplayResult() = default;
36
37
39
42 inline const Aws::String& GetReplayName() const { return m_replayName; }
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>
46 DescribeReplayResult& WithReplayName(ReplayNameT&& value) { SetReplayName(std::forward<ReplayNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetReplayArn() const { return m_replayArn; }
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>
57 DescribeReplayResult& WithReplayArn(ReplayArnT&& value) { SetReplayArn(std::forward<ReplayArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
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>
68 DescribeReplayResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline ReplayState GetState() const { return m_state; }
76 inline void SetState(ReplayState value) { m_stateHasBeenSet = true; m_state = value; }
77 inline DescribeReplayResult& WithState(ReplayState value) { SetState(value); return *this;}
79
81
84 inline const Aws::String& GetStateReason() const { return m_stateReason; }
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>
88 DescribeReplayResult& WithStateReason(StateReasonT&& value) { SetStateReason(std::forward<StateReasonT>(value)); return *this;}
90
92
95 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
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>
99 DescribeReplayResult& WithEventSourceArn(EventSourceArnT&& value) { SetEventSourceArn(std::forward<EventSourceArnT>(value)); return *this;}
101
103
107 inline const ReplayDestination& GetDestination() const { return m_destination; }
108 template<typename DestinationT = ReplayDestination>
109 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
110 template<typename DestinationT = ReplayDestination>
111 DescribeReplayResult& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetEventStartTime() const { return m_eventStartTime; }
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>
123 DescribeReplayResult& WithEventStartTime(EventStartTimeT&& value) { SetEventStartTime(std::forward<EventStartTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetEventEndTime() const { return m_eventEndTime; }
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>
134 DescribeReplayResult& WithEventEndTime(EventEndTimeT&& value) { SetEventEndTime(std::forward<EventEndTimeT>(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetEventLastReplayedTime() const { return m_eventLastReplayedTime; }
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>
145 DescribeReplayResult& WithEventLastReplayedTime(EventLastReplayedTimeT&& value) { SetEventLastReplayedTime(std::forward<EventLastReplayedTimeT>(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetReplayStartTime() const { return m_replayStartTime; }
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>
156 DescribeReplayResult& WithReplayStartTime(ReplayStartTimeT&& value) { SetReplayStartTime(std::forward<ReplayStartTimeT>(value)); return *this;}
158
160
163 inline const Aws::Utils::DateTime& GetReplayEndTime() const { return m_replayEndTime; }
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>
167 DescribeReplayResult& WithReplayEndTime(ReplayEndTimeT&& value) { SetReplayEndTime(std::forward<ReplayEndTimeT>(value)); return *this;}
169
171
172 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
176 DescribeReplayResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
178 private:
179
180 Aws::String m_replayName;
181 bool m_replayNameHasBeenSet = false;
182
183 Aws::String m_replayArn;
184 bool m_replayArnHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
190 bool m_stateHasBeenSet = false;
191
192 Aws::String m_stateReason;
193 bool m_stateReasonHasBeenSet = false;
194
195 Aws::String m_eventSourceArn;
196 bool m_eventSourceArnHasBeenSet = false;
197
198 ReplayDestination m_destination;
199 bool m_destinationHasBeenSet = false;
200
201 Aws::Utils::DateTime m_eventStartTime{};
202 bool m_eventStartTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_eventEndTime{};
205 bool m_eventEndTimeHasBeenSet = false;
206
207 Aws::Utils::DateTime m_eventLastReplayedTime{};
208 bool m_eventLastReplayedTimeHasBeenSet = false;
209
210 Aws::Utils::DateTime m_replayStartTime{};
211 bool m_replayStartTimeHasBeenSet = false;
212
213 Aws::Utils::DateTime m_replayEndTime{};
214 bool m_replayEndTimeHasBeenSet = false;
215
216 Aws::String m_requestId;
217 bool m_requestIdHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace CloudWatchEvents
222} // namespace Aws
void SetEventLastReplayedTime(EventLastReplayedTimeT &&value)
DescribeReplayResult & WithReplayName(ReplayNameT &&value)
const Aws::Utils::DateTime & GetEventLastReplayedTime() const
DescribeReplayResult & WithDestination(DestinationT &&value)
DescribeReplayResult & WithReplayArn(ReplayArnT &&value)
DescribeReplayResult & WithStateReason(StateReasonT &&value)
DescribeReplayResult & WithEventStartTime(EventStartTimeT &&value)
DescribeReplayResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetEventStartTime() const
const Aws::Utils::DateTime & GetReplayStartTime() const
AWS_CLOUDWATCHEVENTS_API DescribeReplayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplayResult & WithReplayStartTime(ReplayStartTimeT &&value)
DescribeReplayResult & WithState(ReplayState value)
const Aws::Utils::DateTime & GetEventEndTime() const
DescribeReplayResult & WithEventLastReplayedTime(EventLastReplayedTimeT &&value)
const Aws::Utils::DateTime & GetReplayEndTime() const
AWS_CLOUDWATCHEVENTS_API DescribeReplayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplayResult & WithDescription(DescriptionT &&value)
DescribeReplayResult & WithEventSourceArn(EventSourceArnT &&value)
DescribeReplayResult & WithEventEndTime(EventEndTimeT &&value)
DescribeReplayResult & WithReplayEndTime(ReplayEndTimeT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeReplayResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue