AWS SDK for C++  1.9.104
AWS SDK for C++
ExecutionListItem.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SFN
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
46 
50  inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
51 
55  inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
56 
60  inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
61 
65  inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
66 
70  inline ExecutionListItem& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
71 
75  inline ExecutionListItem& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
76 
80  inline ExecutionListItem& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
87 
91  inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
92 
96  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
97 
101  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
102 
106  inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
107 
111  inline ExecutionListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
112 
116  inline ExecutionListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
117 
121  inline ExecutionListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
122 
123 
133  inline const Aws::String& GetName() const{ return m_name; }
134 
144  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
145 
155  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
156 
166  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
167 
177  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
178 
188  inline ExecutionListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
189 
199  inline ExecutionListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
200 
210  inline ExecutionListItem& WithName(const char* value) { SetName(value); return *this;}
211 
212 
216  inline const ExecutionStatus& GetStatus() const{ return m_status; }
217 
221  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
222 
226  inline void SetStatus(const ExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
227 
231  inline void SetStatus(ExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
232 
236  inline ExecutionListItem& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
237 
241  inline ExecutionListItem& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
242 
243 
247  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
248 
252  inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
253 
257  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
258 
262  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
263 
267  inline ExecutionListItem& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
268 
272  inline ExecutionListItem& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
273 
274 
278  inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
279 
283  inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
284 
288  inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; }
289 
293  inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); }
294 
298  inline ExecutionListItem& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
299 
303  inline ExecutionListItem& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
304 
305  private:
306 
307  Aws::String m_executionArn;
308  bool m_executionArnHasBeenSet;
309 
310  Aws::String m_stateMachineArn;
311  bool m_stateMachineArnHasBeenSet;
312 
313  Aws::String m_name;
314  bool m_nameHasBeenSet;
315 
316  ExecutionStatus m_status;
317  bool m_statusHasBeenSet;
318 
319  Aws::Utils::DateTime m_startDate;
320  bool m_startDateHasBeenSet;
321 
322  Aws::Utils::DateTime m_stopDate;
323  bool m_stopDateHasBeenSet;
324  };
325 
326 } // namespace Model
327 } // namespace SFN
328 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::ExecutionListItem::WithExecutionArn
ExecutionListItem & WithExecutionArn(Aws::String &&value)
Definition: ExecutionListItem.h:75
Aws::SFN::Model::ExecutionListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::ExecutionListItem::GetName
const Aws::String & GetName() const
Definition: ExecutionListItem.h:133
Aws::SFN::Model::ExecutionListItem::StopDateHasBeenSet
bool StopDateHasBeenSet() const
Definition: ExecutionListItem.h:283
Aws::SFN::Model::ExecutionListItem::SetExecutionArn
void SetExecutionArn(Aws::String &&value)
Definition: ExecutionListItem.h:60
Aws::SFN::Model::ExecutionListItem::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ExecutionListItem.h:221
Aws::SFN::Model::ExecutionListItem::WithStopDate
ExecutionListItem & WithStopDate(Aws::Utils::DateTime &&value)
Definition: ExecutionListItem.h:303
Aws::SFN::Model::ExecutionListItem::SetStatus
void SetStatus(const ExecutionStatus &value)
Definition: ExecutionListItem.h:226
Aws::SFN::Model::ExecutionListItem::SetName
void SetName(const Aws::String &value)
Definition: ExecutionListItem.h:155
Aws::SFN::Model::ExecutionListItem::GetStatus
const ExecutionStatus & GetStatus() const
Definition: ExecutionListItem.h:216
DateTime.h
Aws::SFN::Model::ExecutionListItem::ExecutionListItem
ExecutionListItem()
ExecutionStatus.h
Aws::SFN::Model::ExecutionListItem::SetStartDate
void SetStartDate(const Aws::Utils::DateTime &value)
Definition: ExecutionListItem.h:257
Aws::SFN::Model::ExecutionListItem::GetStopDate
const Aws::Utils::DateTime & GetStopDate() const
Definition: ExecutionListItem.h:278
Aws::SFN::Model::ExecutionListItem::WithExecutionArn
ExecutionListItem & WithExecutionArn(const Aws::String &value)
Definition: ExecutionListItem.h:70
Aws::SFN::Model::ExecutionListItem::SetName
void SetName(Aws::String &&value)
Definition: ExecutionListItem.h:166
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::ExecutionListItem::WithName
ExecutionListItem & WithName(Aws::String &&value)
Definition: ExecutionListItem.h:199
Aws::SFN::Model::ExecutionListItem::SetName
void SetName(const char *value)
Definition: ExecutionListItem.h:177
Aws::SFN::Model::ExecutionListItem::WithStartDate
ExecutionListItem & WithStartDate(Aws::Utils::DateTime &&value)
Definition: ExecutionListItem.h:272
Aws::SFN::Model::ExecutionListItem::SetExecutionArn
void SetExecutionArn(const char *value)
Definition: ExecutionListItem.h:65
Aws::SFN::Model::ExecutionListItem::WithStateMachineArn
ExecutionListItem & WithStateMachineArn(const Aws::String &value)
Definition: ExecutionListItem.h:111
Aws::SFN::Model::ExecutionListItem::WithStartDate
ExecutionListItem & WithStartDate(const Aws::Utils::DateTime &value)
Definition: ExecutionListItem.h:267
Aws::SFN::Model::ExecutionListItem::WithStopDate
ExecutionListItem & WithStopDate(const Aws::Utils::DateTime &value)
Definition: ExecutionListItem.h:298
Aws::SFN::Model::ExecutionListItem::ExecutionArnHasBeenSet
bool ExecutionArnHasBeenSet() const
Definition: ExecutionListItem.h:50
Aws::SFN::Model::ExecutionListItem::WithStateMachineArn
ExecutionListItem & WithStateMachineArn(Aws::String &&value)
Definition: ExecutionListItem.h:116
Aws::SFN::Model::ExecutionListItem::WithStatus
ExecutionListItem & WithStatus(ExecutionStatus &&value)
Definition: ExecutionListItem.h:241
Aws::SFN::Model::ExecutionListItem::WithName
ExecutionListItem & WithName(const Aws::String &value)
Definition: ExecutionListItem.h:188
Aws::SFN::Model::ExecutionListItem::SetExecutionArn
void SetExecutionArn(const Aws::String &value)
Definition: ExecutionListItem.h:55
Aws::SFN::Model::ExecutionListItem
Definition: ExecutionListItem.h:34
Aws::SFN::Model::ExecutionListItem::ExecutionListItem
ExecutionListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SFN::Model::ExecutionListItem::WithExecutionArn
ExecutionListItem & WithExecutionArn(const char *value)
Definition: ExecutionListItem.h:80
AWSString.h
Aws::SFN::Model::ExecutionListItem::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: ExecutionListItem.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::ExecutionListItem::SetStartDate
void SetStartDate(Aws::Utils::DateTime &&value)
Definition: ExecutionListItem.h:262
Aws::SFN::Model::ExecutionListItem::GetExecutionArn
const Aws::String & GetExecutionArn() const
Definition: ExecutionListItem.h:45
Aws::SFN::Model::ExecutionListItem::SetStatus
void SetStatus(ExecutionStatus &&value)
Definition: ExecutionListItem.h:231
Aws::SFN::Model::ExecutionListItem::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: ExecutionListItem.h:91
Aws::SFN::Model::ExecutionListItem::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: ExecutionListItem.h:96
Aws::SFN::Model::ExecutionListItem::SetStopDate
void SetStopDate(Aws::Utils::DateTime &&value)
Definition: ExecutionListItem.h:293
Aws::SFN::Model::ExecutionListItem::operator=
ExecutionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ExecutionListItem::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: ExecutionListItem.h:86
Aws::SFN::Model::ExecutionListItem::WithName
ExecutionListItem & WithName(const char *value)
Definition: ExecutionListItem.h:210
Aws::SFN::Model::ExecutionListItem::GetStartDate
const Aws::Utils::DateTime & GetStartDate() const
Definition: ExecutionListItem.h:247
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ExecutionListItem::WithStatus
ExecutionListItem & WithStatus(const ExecutionStatus &value)
Definition: ExecutionListItem.h:236
Aws::SFN::Model::ExecutionListItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ExecutionListItem.h:144
Aws::SFN::Model::ExecutionListItem::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: ExecutionListItem.h:106
Aws::SFN::Model::ExecutionListItem::WithStateMachineArn
ExecutionListItem & WithStateMachineArn(const char *value)
Definition: ExecutionListItem.h:121
Aws::SFN::Model::ExecutionListItem::StartDateHasBeenSet
bool StartDateHasBeenSet() const
Definition: ExecutionListItem.h:252
Aws::SFN::Model::ExecutionListItem::SetStopDate
void SetStopDate(const Aws::Utils::DateTime &value)
Definition: ExecutionListItem.h:288
Aws::SFN::Model::ExecutionStatus
ExecutionStatus
Definition: ExecutionStatus.h:17