AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExecutionListItem.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/ExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SFN
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SFN_API ExecutionListItem() = default;
40
41
43
46 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
47 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
48 template<typename ExecutionArnT = Aws::String>
49 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
50 template<typename ExecutionArnT = Aws::String>
51 ExecutionListItem& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
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) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::forward<StateMachineArnT>(value); }
63 template<typename StateMachineArnT = Aws::String>
64 ExecutionListItem& WithStateMachineArn(StateMachineArnT&& value) { SetStateMachineArn(std::forward<StateMachineArnT>(value)); return *this;}
66
68
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 ExecutionListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
91 inline ExecutionStatus GetStatus() const { return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(ExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
94 inline ExecutionListItem& WithStatus(ExecutionStatus value) { SetStatus(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
102 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
103 template<typename StartDateT = Aws::Utils::DateTime>
104 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
105 template<typename StartDateT = Aws::Utils::DateTime>
106 ExecutionListItem& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
114 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
115 template<typename StopDateT = Aws::Utils::DateTime>
116 void SetStopDate(StopDateT&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::forward<StopDateT>(value); }
117 template<typename StopDateT = Aws::Utils::DateTime>
118 ExecutionListItem& WithStopDate(StopDateT&& value) { SetStopDate(std::forward<StopDateT>(value)); return *this;}
120
122
128 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
129 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
130 template<typename MapRunArnT = Aws::String>
131 void SetMapRunArn(MapRunArnT&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::forward<MapRunArnT>(value); }
132 template<typename MapRunArnT = Aws::String>
133 ExecutionListItem& WithMapRunArn(MapRunArnT&& value) { SetMapRunArn(std::forward<MapRunArnT>(value)); return *this;}
135
137
144 inline int GetItemCount() const { return m_itemCount; }
145 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
146 inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
147 inline ExecutionListItem& WithItemCount(int value) { SetItemCount(value); return *this;}
149
151
159 inline const Aws::String& GetStateMachineVersionArn() const { return m_stateMachineVersionArn; }
160 inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; }
161 template<typename StateMachineVersionArnT = Aws::String>
162 void SetStateMachineVersionArn(StateMachineVersionArnT&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::forward<StateMachineVersionArnT>(value); }
163 template<typename StateMachineVersionArnT = Aws::String>
164 ExecutionListItem& WithStateMachineVersionArn(StateMachineVersionArnT&& value) { SetStateMachineVersionArn(std::forward<StateMachineVersionArnT>(value)); return *this;}
166
168
173 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
174 inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; }
175 template<typename StateMachineAliasArnT = Aws::String>
176 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value); }
177 template<typename StateMachineAliasArnT = Aws::String>
178 ExecutionListItem& WithStateMachineAliasArn(StateMachineAliasArnT&& value) { SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value)); return *this;}
180
182
187 inline int GetRedriveCount() const { return m_redriveCount; }
188 inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; }
189 inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; }
190 inline ExecutionListItem& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
192
194
197 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
198 inline bool RedriveDateHasBeenSet() const { return m_redriveDateHasBeenSet; }
199 template<typename RedriveDateT = Aws::Utils::DateTime>
200 void SetRedriveDate(RedriveDateT&& value) { m_redriveDateHasBeenSet = true; m_redriveDate = std::forward<RedriveDateT>(value); }
201 template<typename RedriveDateT = Aws::Utils::DateTime>
202 ExecutionListItem& WithRedriveDate(RedriveDateT&& value) { SetRedriveDate(std::forward<RedriveDateT>(value)); return *this;}
204 private:
205
206 Aws::String m_executionArn;
207 bool m_executionArnHasBeenSet = false;
208
209 Aws::String m_stateMachineArn;
210 bool m_stateMachineArnHasBeenSet = false;
211
212 Aws::String m_name;
213 bool m_nameHasBeenSet = false;
214
216 bool m_statusHasBeenSet = false;
217
218 Aws::Utils::DateTime m_startDate{};
219 bool m_startDateHasBeenSet = false;
220
221 Aws::Utils::DateTime m_stopDate{};
222 bool m_stopDateHasBeenSet = false;
223
224 Aws::String m_mapRunArn;
225 bool m_mapRunArnHasBeenSet = false;
226
227 int m_itemCount{0};
228 bool m_itemCountHasBeenSet = false;
229
230 Aws::String m_stateMachineVersionArn;
231 bool m_stateMachineVersionArnHasBeenSet = false;
232
233 Aws::String m_stateMachineAliasArn;
234 bool m_stateMachineAliasArnHasBeenSet = false;
235
236 int m_redriveCount{0};
237 bool m_redriveCountHasBeenSet = false;
238
239 Aws::Utils::DateTime m_redriveDate{};
240 bool m_redriveDateHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace SFN
245} // 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