AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
47 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
48 inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
49 inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
50 inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
51 inline ExecutionListItem& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
52 inline ExecutionListItem& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
53 inline ExecutionListItem& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
55
57
61 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
62 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
63 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
64 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
65 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
66 inline ExecutionListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
67 inline ExecutionListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
68 inline ExecutionListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
70
72
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline ExecutionListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline ExecutionListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline ExecutionListItem& WithName(const char* value) { SetName(value); return *this;}
90
92
95 inline const ExecutionStatus& GetStatus() const{ return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(const ExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
98 inline void SetStatus(ExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline ExecutionListItem& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
100 inline ExecutionListItem& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
108 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
109 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
110 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
111 inline ExecutionListItem& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
112 inline ExecutionListItem& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
120 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
121 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; }
122 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); }
123 inline ExecutionListItem& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
124 inline ExecutionListItem& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
126
128
134 inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; }
135 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
136 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = value; }
137 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::move(value); }
138 inline void SetMapRunArn(const char* value) { m_mapRunArnHasBeenSet = true; m_mapRunArn.assign(value); }
139 inline ExecutionListItem& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
140 inline ExecutionListItem& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
141 inline ExecutionListItem& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
143
145
152 inline int GetItemCount() const{ return m_itemCount; }
153 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
154 inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
155 inline ExecutionListItem& WithItemCount(int value) { SetItemCount(value); return *this;}
157
159
167 inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; }
168 inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; }
169 inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = value; }
170 inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::move(value); }
171 inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn.assign(value); }
173 inline ExecutionListItem& WithStateMachineVersionArn(Aws::String&& value) { SetStateMachineVersionArn(std::move(value)); return *this;}
174 inline ExecutionListItem& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(value); return *this;}
176
178
183 inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; }
184 inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; }
185 inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = value; }
186 inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::move(value); }
187 inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn.assign(value); }
189 inline ExecutionListItem& WithStateMachineAliasArn(Aws::String&& value) { SetStateMachineAliasArn(std::move(value)); return *this;}
190 inline ExecutionListItem& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;}
192
194
199 inline int GetRedriveCount() const{ return m_redriveCount; }
200 inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; }
201 inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; }
202 inline ExecutionListItem& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
204
206
209 inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; }
210 inline bool RedriveDateHasBeenSet() const { return m_redriveDateHasBeenSet; }
211 inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDateHasBeenSet = true; m_redriveDate = value; }
212 inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDateHasBeenSet = true; m_redriveDate = std::move(value); }
213 inline ExecutionListItem& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;}
214 inline ExecutionListItem& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;}
216 private:
217
218 Aws::String m_executionArn;
219 bool m_executionArnHasBeenSet = false;
220
221 Aws::String m_stateMachineArn;
222 bool m_stateMachineArnHasBeenSet = false;
223
224 Aws::String m_name;
225 bool m_nameHasBeenSet = false;
226
227 ExecutionStatus m_status;
228 bool m_statusHasBeenSet = false;
229
230 Aws::Utils::DateTime m_startDate;
231 bool m_startDateHasBeenSet = false;
232
233 Aws::Utils::DateTime m_stopDate;
234 bool m_stopDateHasBeenSet = false;
235
236 Aws::String m_mapRunArn;
237 bool m_mapRunArnHasBeenSet = false;
238
239 int m_itemCount;
240 bool m_itemCountHasBeenSet = false;
241
242 Aws::String m_stateMachineVersionArn;
243 bool m_stateMachineVersionArnHasBeenSet = false;
244
245 Aws::String m_stateMachineAliasArn;
246 bool m_stateMachineAliasArnHasBeenSet = false;
247
248 int m_redriveCount;
249 bool m_redriveCountHasBeenSet = false;
250
251 Aws::Utils::DateTime m_redriveDate;
252 bool m_redriveDateHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace SFN
257} // namespace Aws
const Aws::String & GetStateMachineAliasArn() const
ExecutionListItem & WithMapRunArn(const Aws::String &value)
ExecutionListItem & WithStopDate(const Aws::Utils::DateTime &value)
void SetExecutionArn(const Aws::String &value)
ExecutionListItem & WithName(Aws::String &&value)
void SetStateMachineVersionArn(Aws::String &&value)
void SetMapRunArn(Aws::String &&value)
ExecutionListItem & WithRedriveDate(Aws::Utils::DateTime &&value)
ExecutionListItem & WithRedriveCount(int value)
const Aws::String & GetStateMachineVersionArn() const
void SetStartDate(const Aws::Utils::DateTime &value)
ExecutionListItem & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetStartDate() const
void SetMapRunArn(const Aws::String &value)
void SetStopDate(const Aws::Utils::DateTime &value)
ExecutionListItem & WithName(const char *value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
const ExecutionStatus & GetStatus() const
void SetStateMachineArn(const Aws::String &value)
ExecutionListItem & WithExecutionArn(const Aws::String &value)
ExecutionListItem & WithStatus(const ExecutionStatus &value)
ExecutionListItem & WithStateMachineAliasArn(const Aws::String &value)
ExecutionListItem & WithStateMachineAliasArn(const char *value)
void SetStateMachineVersionArn(const char *value)
void SetStateMachineVersionArn(const Aws::String &value)
const Aws::Utils::DateTime & GetRedriveDate() const
ExecutionListItem & WithStateMachineVersionArn(const char *value)
void SetStatus(const ExecutionStatus &value)
ExecutionListItem & WithStartDate(const Aws::Utils::DateTime &value)
const Aws::String & GetMapRunArn() const
void SetStateMachineArn(const char *value)
void SetName(const Aws::String &value)
ExecutionListItem & WithStopDate(Aws::Utils::DateTime &&value)
void SetExecutionArn(Aws::String &&value)
ExecutionListItem & WithItemCount(int value)
const Aws::String & GetExecutionArn() const
void SetRedriveDate(Aws::Utils::DateTime &&value)
ExecutionListItem & WithStateMachineVersionArn(Aws::String &&value)
void SetStopDate(Aws::Utils::DateTime &&value)
void SetStateMachineAliasArn(const Aws::String &value)
ExecutionListItem & WithStateMachineVersionArn(const Aws::String &value)
void SetExecutionArn(const char *value)
const Aws::String & GetStateMachineArn() const
ExecutionListItem & WithStateMachineArn(const Aws::String &value)
void SetStateMachineAliasArn(const char *value)
ExecutionListItem & WithMapRunArn(Aws::String &&value)
ExecutionListItem & WithStatus(ExecutionStatus &&value)
ExecutionListItem & WithExecutionArn(const char *value)
ExecutionListItem & WithStateMachineArn(Aws::String &&value)
void SetStartDate(Aws::Utils::DateTime &&value)
void SetStateMachineAliasArn(Aws::String &&value)
AWS_SFN_API ExecutionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStateMachineArn(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
ExecutionListItem & WithRedriveDate(const Aws::Utils::DateTime &value)
ExecutionListItem & WithStateMachineArn(const char *value)
ExecutionListItem & WithExecutionArn(Aws::String &&value)
ExecutionListItem & WithStateMachineAliasArn(Aws::String &&value)
void SetStatus(ExecutionStatus &&value)
ExecutionListItem & WithStartDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStopDate() const
ExecutionListItem & WithMapRunArn(const char *value)
AWS_SFN_API ExecutionListItem(Aws::Utils::Json::JsonView jsonValue)
void SetRedriveDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue