AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExecutionListItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/ExecutionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SFN {
22namespace Model {
23
30 public:
31 AWS_SFN_API ExecutionListItem() = default;
35
37
40 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
41 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
42 template <typename ExecutionArnT = Aws::String>
43 void SetExecutionArn(ExecutionArnT&& value) {
44 m_executionArnHasBeenSet = true;
45 m_executionArn = std::forward<ExecutionArnT>(value);
46 }
47 template <typename ExecutionArnT = Aws::String>
48 ExecutionListItem& WithExecutionArn(ExecutionArnT&& value) {
49 SetExecutionArn(std::forward<ExecutionArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
60 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
61 template <typename StateMachineArnT = Aws::String>
62 void SetStateMachineArn(StateMachineArnT&& value) {
63 m_stateMachineArnHasBeenSet = true;
64 m_stateMachineArn = std::forward<StateMachineArnT>(value);
65 }
66 template <typename StateMachineArnT = Aws::String>
67 ExecutionListItem& WithStateMachineArn(StateMachineArnT&& value) {
68 SetStateMachineArn(std::forward<StateMachineArnT>(value));
69 return *this;
70 }
72
74
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
93 ExecutionListItem& WithName(NameT&& value) {
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline ExecutionStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(ExecutionStatus value) {
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
120 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
121 template <typename StartDateT = Aws::Utils::DateTime>
122 void SetStartDate(StartDateT&& value) {
123 m_startDateHasBeenSet = true;
124 m_startDate = std::forward<StartDateT>(value);
125 }
126 template <typename StartDateT = Aws::Utils::DateTime>
127 ExecutionListItem& WithStartDate(StartDateT&& value) {
128 SetStartDate(std::forward<StartDateT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
138 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
139 template <typename StopDateT = Aws::Utils::DateTime>
140 void SetStopDate(StopDateT&& value) {
141 m_stopDateHasBeenSet = true;
142 m_stopDate = std::forward<StopDateT>(value);
143 }
144 template <typename StopDateT = Aws::Utils::DateTime>
145 ExecutionListItem& WithStopDate(StopDateT&& value) {
146 SetStopDate(std::forward<StopDateT>(value));
147 return *this;
148 }
150
152
158 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
159 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
160 template <typename MapRunArnT = Aws::String>
161 void SetMapRunArn(MapRunArnT&& value) {
162 m_mapRunArnHasBeenSet = true;
163 m_mapRunArn = std::forward<MapRunArnT>(value);
164 }
165 template <typename MapRunArnT = Aws::String>
166 ExecutionListItem& WithMapRunArn(MapRunArnT&& value) {
167 SetMapRunArn(std::forward<MapRunArnT>(value));
168 return *this;
169 }
171
173
180 inline int GetItemCount() const { return m_itemCount; }
181 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
182 inline void SetItemCount(int value) {
183 m_itemCountHasBeenSet = true;
184 m_itemCount = value;
185 }
186 inline ExecutionListItem& WithItemCount(int value) {
187 SetItemCount(value);
188 return *this;
189 }
191
193
201 inline const Aws::String& GetStateMachineVersionArn() const { return m_stateMachineVersionArn; }
202 inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; }
203 template <typename StateMachineVersionArnT = Aws::String>
204 void SetStateMachineVersionArn(StateMachineVersionArnT&& value) {
205 m_stateMachineVersionArnHasBeenSet = true;
206 m_stateMachineVersionArn = std::forward<StateMachineVersionArnT>(value);
207 }
208 template <typename StateMachineVersionArnT = Aws::String>
209 ExecutionListItem& WithStateMachineVersionArn(StateMachineVersionArnT&& value) {
210 SetStateMachineVersionArn(std::forward<StateMachineVersionArnT>(value));
211 return *this;
212 }
214
216
221 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
222 inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; }
223 template <typename StateMachineAliasArnT = Aws::String>
224 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) {
225 m_stateMachineAliasArnHasBeenSet = true;
226 m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value);
227 }
228 template <typename StateMachineAliasArnT = Aws::String>
229 ExecutionListItem& WithStateMachineAliasArn(StateMachineAliasArnT&& value) {
230 SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value));
231 return *this;
232 }
234
236
241 inline int GetRedriveCount() const { return m_redriveCount; }
242 inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; }
243 inline void SetRedriveCount(int value) {
244 m_redriveCountHasBeenSet = true;
245 m_redriveCount = value;
246 }
248 SetRedriveCount(value);
249 return *this;
250 }
252
254
257 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
258 inline bool RedriveDateHasBeenSet() const { return m_redriveDateHasBeenSet; }
259 template <typename RedriveDateT = Aws::Utils::DateTime>
260 void SetRedriveDate(RedriveDateT&& value) {
261 m_redriveDateHasBeenSet = true;
262 m_redriveDate = std::forward<RedriveDateT>(value);
263 }
264 template <typename RedriveDateT = Aws::Utils::DateTime>
265 ExecutionListItem& WithRedriveDate(RedriveDateT&& value) {
266 SetRedriveDate(std::forward<RedriveDateT>(value));
267 return *this;
268 }
270 private:
271 Aws::String m_executionArn;
272
273 Aws::String m_stateMachineArn;
274
275 Aws::String m_name;
276
278
279 Aws::Utils::DateTime m_startDate{};
280
281 Aws::Utils::DateTime m_stopDate{};
282
283 Aws::String m_mapRunArn;
284
285 int m_itemCount{0};
286
287 Aws::String m_stateMachineVersionArn;
288
289 Aws::String m_stateMachineAliasArn;
290
291 int m_redriveCount{0};
292
293 Aws::Utils::DateTime m_redriveDate{};
294 bool m_executionArnHasBeenSet = false;
295 bool m_stateMachineArnHasBeenSet = false;
296 bool m_nameHasBeenSet = false;
297 bool m_statusHasBeenSet = false;
298 bool m_startDateHasBeenSet = false;
299 bool m_stopDateHasBeenSet = false;
300 bool m_mapRunArnHasBeenSet = false;
301 bool m_itemCountHasBeenSet = false;
302 bool m_stateMachineVersionArnHasBeenSet = false;
303 bool m_stateMachineAliasArnHasBeenSet = false;
304 bool m_redriveCountHasBeenSet = false;
305 bool m_redriveDateHasBeenSet = false;
306};
307
308} // namespace Model
309} // namespace SFN
310} // namespace Aws
const Aws::String & GetStateMachineAliasArn() const
void SetRedriveDate(RedriveDateT &&value)
ExecutionListItem & WithExecutionArn(ExecutionArnT &&value)
ExecutionListItem & WithRedriveCount(int value)
const Aws::String & GetStateMachineVersionArn() const
const Aws::Utils::DateTime & GetStartDate() const
ExecutionListItem & WithRedriveDate(RedriveDateT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API ExecutionListItem()=default
void SetStateMachineVersionArn(StateMachineVersionArnT &&value)
ExecutionListItem & WithMapRunArn(MapRunArnT &&value)
ExecutionListItem & WithStateMachineArn(StateMachineArnT &&value)
void SetStartDate(StartDateT &&value)
const Aws::Utils::DateTime & GetRedriveDate() const
const Aws::String & GetMapRunArn() const
ExecutionListItem & WithItemCount(int value)
const Aws::String & GetExecutionArn() const
ExecutionListItem & WithStateMachineVersionArn(StateMachineVersionArnT &&value)
void SetExecutionArn(ExecutionArnT &&value)
void SetMapRunArn(MapRunArnT &&value)
ExecutionListItem & WithStartDate(StartDateT &&value)
void SetStatus(ExecutionStatus value)
const Aws::String & GetStateMachineArn() const
ExecutionListItem & WithStateMachineAliasArn(StateMachineAliasArnT &&value)
AWS_SFN_API ExecutionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionListItem & WithStopDate(StopDateT &&value)
void SetStateMachineArn(StateMachineArnT &&value)
const Aws::String & GetName() const
void SetStateMachineAliasArn(StateMachineAliasArnT &&value)
ExecutionListItem & WithName(NameT &&value)
const Aws::Utils::DateTime & GetStopDate() const
ExecutionListItem & WithStatus(ExecutionStatus value)
AWS_SFN_API ExecutionListItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue