AWS SDK for C++  1.9.78
AWS SDK for C++
DescribeExecutionResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace SFN
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
42 
46  inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
47 
51  inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
52 
56  inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
57 
61  inline DescribeExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
62 
66  inline DescribeExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
67 
71  inline DescribeExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
72 
73 
77  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
78 
82  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
83 
87  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
88 
92  inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
93 
97  inline DescribeExecutionResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
98 
102  inline DescribeExecutionResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
103 
107  inline DescribeExecutionResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
108 
109 
119  inline const Aws::String& GetName() const{ return m_name; }
120 
130  inline void SetName(const Aws::String& value) { m_name = value; }
131 
141  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
142 
152  inline void SetName(const char* value) { m_name.assign(value); }
153 
163  inline DescribeExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
164 
174  inline DescribeExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
175 
185  inline DescribeExecutionResult& WithName(const char* value) { SetName(value); return *this;}
186 
187 
191  inline const ExecutionStatus& GetStatus() const{ return m_status; }
192 
196  inline void SetStatus(const ExecutionStatus& value) { m_status = value; }
197 
201  inline void SetStatus(ExecutionStatus&& value) { m_status = std::move(value); }
202 
206  inline DescribeExecutionResult& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
207 
211  inline DescribeExecutionResult& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
212 
213 
217  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
218 
222  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
223 
227  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
228 
232  inline DescribeExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
233 
237  inline DescribeExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
238 
239 
243  inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
244 
248  inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; }
249 
253  inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); }
254 
258  inline DescribeExecutionResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
259 
263  inline DescribeExecutionResult& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
264 
265 
271  inline const Aws::String& GetInput() const{ return m_input; }
272 
278  inline void SetInput(const Aws::String& value) { m_input = value; }
279 
285  inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
286 
292  inline void SetInput(const char* value) { m_input.assign(value); }
293 
299  inline DescribeExecutionResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
300 
306  inline DescribeExecutionResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
307 
313  inline DescribeExecutionResult& WithInput(const char* value) { SetInput(value); return *this;}
314 
315 
316 
317  inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; }
318 
319 
320  inline void SetInputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_inputDetails = value; }
321 
322 
323  inline void SetInputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_inputDetails = std::move(value); }
324 
325 
326  inline DescribeExecutionResult& WithInputDetails(const CloudWatchEventsExecutionDataDetails& value) { SetInputDetails(value); return *this;}
327 
328 
329  inline DescribeExecutionResult& WithInputDetails(CloudWatchEventsExecutionDataDetails&& value) { SetInputDetails(std::move(value)); return *this;}
330 
331 
338  inline const Aws::String& GetOutput() const{ return m_output; }
339 
346  inline void SetOutput(const Aws::String& value) { m_output = value; }
347 
354  inline void SetOutput(Aws::String&& value) { m_output = std::move(value); }
355 
362  inline void SetOutput(const char* value) { m_output.assign(value); }
363 
370  inline DescribeExecutionResult& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
371 
378  inline DescribeExecutionResult& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
379 
386  inline DescribeExecutionResult& WithOutput(const char* value) { SetOutput(value); return *this;}
387 
388 
389 
390  inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
391 
392 
393  inline void SetOutputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_outputDetails = value; }
394 
395 
396  inline void SetOutputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_outputDetails = std::move(value); }
397 
398 
399  inline DescribeExecutionResult& WithOutputDetails(const CloudWatchEventsExecutionDataDetails& value) { SetOutputDetails(value); return *this;}
400 
401 
402  inline DescribeExecutionResult& WithOutputDetails(CloudWatchEventsExecutionDataDetails&& value) { SetOutputDetails(std::move(value)); return *this;}
403 
404 
408  inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
409 
413  inline void SetTraceHeader(const Aws::String& value) { m_traceHeader = value; }
414 
418  inline void SetTraceHeader(Aws::String&& value) { m_traceHeader = std::move(value); }
419 
423  inline void SetTraceHeader(const char* value) { m_traceHeader.assign(value); }
424 
428  inline DescribeExecutionResult& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
429 
433  inline DescribeExecutionResult& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
434 
438  inline DescribeExecutionResult& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
439 
440  private:
441 
442  Aws::String m_executionArn;
443 
444  Aws::String m_stateMachineArn;
445 
446  Aws::String m_name;
447 
448  ExecutionStatus m_status;
449 
450  Aws::Utils::DateTime m_startDate;
451 
452  Aws::Utils::DateTime m_stopDate;
453 
454  Aws::String m_input;
455 
457 
458  Aws::String m_output;
459 
460  CloudWatchEventsExecutionDataDetails m_outputDetails;
461 
462  Aws::String m_traceHeader;
463  };
464 
465 } // namespace Model
466 } // namespace SFN
467 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::DescribeExecutionResult
Definition: DescribeExecutionResult.h:31
Aws::SFN::Model::DescribeExecutionResult::SetExecutionArn
void SetExecutionArn(const char *value)
Definition: DescribeExecutionResult.h:56
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::DescribeExecutionResult::SetInput
void SetInput(Aws::String &&value)
Definition: DescribeExecutionResult.h:285
CloudWatchEventsExecutionDataDetails.h
Aws::SFN::Model::DescribeExecutionResult::operator=
DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeExecutionResult::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: DescribeExecutionResult.h:92
Aws::SFN::Model::DescribeExecutionResult::GetOutputDetails
const CloudWatchEventsExecutionDataDetails & GetOutputDetails() const
Definition: DescribeExecutionResult.h:390
Aws::SFN::Model::DescribeExecutionResult::WithInput
DescribeExecutionResult & WithInput(const Aws::String &value)
Definition: DescribeExecutionResult.h:299
Aws::SFN::Model::DescribeExecutionResult::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: DescribeExecutionResult.h:87
Aws::SFN::Model::DescribeExecutionResult::SetStatus
void SetStatus(const ExecutionStatus &value)
Definition: DescribeExecutionResult.h:196
Aws::SFN::Model::DescribeExecutionResult::SetInputDetails
void SetInputDetails(const CloudWatchEventsExecutionDataDetails &value)
Definition: DescribeExecutionResult.h:320
Aws::SFN::Model::DescribeExecutionResult::WithStopDate
DescribeExecutionResult & WithStopDate(const Aws::Utils::DateTime &value)
Definition: DescribeExecutionResult.h:258
Aws::SFN::Model::DescribeExecutionResult::WithExecutionArn
DescribeExecutionResult & WithExecutionArn(const char *value)
Definition: DescribeExecutionResult.h:71
Aws::SFN::Model::DescribeExecutionResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeExecutionResult.h:130
Aws::SFN::Model::DescribeExecutionResult::WithStatus
DescribeExecutionResult & WithStatus(ExecutionStatus &&value)
Definition: DescribeExecutionResult.h:211
Aws::SFN::Model::DescribeExecutionResult::SetOutput
void SetOutput(Aws::String &&value)
Definition: DescribeExecutionResult.h:354
Aws::SFN::Model::DescribeExecutionResult::WithOutputDetails
DescribeExecutionResult & WithOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
Definition: DescribeExecutionResult.h:402
Aws::SFN::Model::DescribeExecutionResult::SetTraceHeader
void SetTraceHeader(Aws::String &&value)
Definition: DescribeExecutionResult.h:418
Aws::SFN::Model::DescribeExecutionResult::GetName
const Aws::String & GetName() const
Definition: DescribeExecutionResult.h:119
DateTime.h
Aws::SFN::Model::DescribeExecutionResult::SetTraceHeader
void SetTraceHeader(const Aws::String &value)
Definition: DescribeExecutionResult.h:413
Aws::SFN::Model::DescribeExecutionResult::GetStartDate
const Aws::Utils::DateTime & GetStartDate() const
Definition: DescribeExecutionResult.h:217
Aws::SFN::Model::DescribeExecutionResult::SetExecutionArn
void SetExecutionArn(Aws::String &&value)
Definition: DescribeExecutionResult.h:51
Aws::SFN::Model::DescribeExecutionResult::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: DescribeExecutionResult.h:82
ExecutionStatus.h
Aws::SFN::Model::DescribeExecutionResult::GetExecutionArn
const Aws::String & GetExecutionArn() const
Definition: DescribeExecutionResult.h:41
Aws::SFN::Model::CloudWatchEventsExecutionDataDetails
Definition: CloudWatchEventsExecutionDataDetails.h:31
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::DescribeExecutionResult::WithExecutionArn
DescribeExecutionResult & WithExecutionArn(const Aws::String &value)
Definition: DescribeExecutionResult.h:61
SFN_EXPORTS.h
Aws::SFN::Model::DescribeExecutionResult::WithTraceHeader
DescribeExecutionResult & WithTraceHeader(const Aws::String &value)
Definition: DescribeExecutionResult.h:428
Aws::SFN::Model::DescribeExecutionResult::SetInput
void SetInput(const Aws::String &value)
Definition: DescribeExecutionResult.h:278
Aws::SFN::Model::DescribeExecutionResult::WithInputDetails
DescribeExecutionResult & WithInputDetails(CloudWatchEventsExecutionDataDetails &&value)
Definition: DescribeExecutionResult.h:329
Aws::SFN::Model::DescribeExecutionResult::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: DescribeExecutionResult.h:77
Aws::SFN::Model::DescribeExecutionResult::GetTraceHeader
const Aws::String & GetTraceHeader() const
Definition: DescribeExecutionResult.h:408
Aws::SFN::Model::DescribeExecutionResult::WithInputDetails
DescribeExecutionResult & WithInputDetails(const CloudWatchEventsExecutionDataDetails &value)
Definition: DescribeExecutionResult.h:326
Aws::SFN::Model::DescribeExecutionResult::WithExecutionArn
DescribeExecutionResult & WithExecutionArn(Aws::String &&value)
Definition: DescribeExecutionResult.h:66
Aws::SFN::Model::DescribeExecutionResult::SetStatus
void SetStatus(ExecutionStatus &&value)
Definition: DescribeExecutionResult.h:201
Aws::SFN::Model::DescribeExecutionResult::SetName
void SetName(const char *value)
Definition: DescribeExecutionResult.h:152
Aws::SFN::Model::DescribeExecutionResult::WithStateMachineArn
DescribeExecutionResult & WithStateMachineArn(const char *value)
Definition: DescribeExecutionResult.h:107
Aws::SFN::Model::DescribeExecutionResult::DescribeExecutionResult
DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeExecutionResult::SetOutput
void SetOutput(const Aws::String &value)
Definition: DescribeExecutionResult.h:346
Aws::SFN::Model::DescribeExecutionResult::SetInputDetails
void SetInputDetails(CloudWatchEventsExecutionDataDetails &&value)
Definition: DescribeExecutionResult.h:323
Aws::SFN::Model::DescribeExecutionResult::GetInputDetails
const CloudWatchEventsExecutionDataDetails & GetInputDetails() const
Definition: DescribeExecutionResult.h:317
Aws::SFN::Model::DescribeExecutionResult::WithInput
DescribeExecutionResult & WithInput(Aws::String &&value)
Definition: DescribeExecutionResult.h:306
Aws::SFN::Model::DescribeExecutionResult::WithStopDate
DescribeExecutionResult & WithStopDate(Aws::Utils::DateTime &&value)
Definition: DescribeExecutionResult.h:263
Aws::SFN::Model::DescribeExecutionResult::WithTraceHeader
DescribeExecutionResult & WithTraceHeader(const char *value)
Definition: DescribeExecutionResult.h:438
Aws::SFN::Model::DescribeExecutionResult::SetTraceHeader
void SetTraceHeader(const char *value)
Definition: DescribeExecutionResult.h:423
Aws::SFN::Model::DescribeExecutionResult::SetStopDate
void SetStopDate(const Aws::Utils::DateTime &value)
Definition: DescribeExecutionResult.h:248
Aws::SFN::Model::DescribeExecutionResult::GetInput
const Aws::String & GetInput() const
Definition: DescribeExecutionResult.h:271
AWSString.h
Aws::SFN::Model::DescribeExecutionResult::SetStopDate
void SetStopDate(Aws::Utils::DateTime &&value)
Definition: DescribeExecutionResult.h:253
Aws::SFN::Model::DescribeExecutionResult::WithOutput
DescribeExecutionResult & WithOutput(Aws::String &&value)
Definition: DescribeExecutionResult.h:378
Aws::SFN::Model::DescribeExecutionResult::WithOutput
DescribeExecutionResult & WithOutput(const Aws::String &value)
Definition: DescribeExecutionResult.h:370
Aws::SFN::Model::DescribeExecutionResult::SetStartDate
void SetStartDate(Aws::Utils::DateTime &&value)
Definition: DescribeExecutionResult.h:227
Aws::SFN::Model::DescribeExecutionResult::SetExecutionArn
void SetExecutionArn(const Aws::String &value)
Definition: DescribeExecutionResult.h:46
Aws::SFN::Model::DescribeExecutionResult::WithName
DescribeExecutionResult & WithName(const Aws::String &value)
Definition: DescribeExecutionResult.h:163
Aws::SFN::Model::DescribeExecutionResult::GetStatus
const ExecutionStatus & GetStatus() const
Definition: DescribeExecutionResult.h:191
Aws::SFN::Model::DescribeExecutionResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeExecutionResult.h:141
Aws::SFN::Model::DescribeExecutionResult::DescribeExecutionResult
DescribeExecutionResult()
Aws::SFN::Model::DescribeExecutionResult::WithTraceHeader
DescribeExecutionResult & WithTraceHeader(Aws::String &&value)
Definition: DescribeExecutionResult.h:433
Aws::SFN::Model::DescribeExecutionResult::WithStartDate
DescribeExecutionResult & WithStartDate(const Aws::Utils::DateTime &value)
Definition: DescribeExecutionResult.h:232
Aws::SFN::Model::DescribeExecutionResult::WithStartDate
DescribeExecutionResult & WithStartDate(Aws::Utils::DateTime &&value)
Definition: DescribeExecutionResult.h:237
Aws::SFN::Model::DescribeExecutionResult::SetOutput
void SetOutput(const char *value)
Definition: DescribeExecutionResult.h:362
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::DescribeExecutionResult::WithName
DescribeExecutionResult & WithName(Aws::String &&value)
Definition: DescribeExecutionResult.h:174
Aws::SFN::Model::DescribeExecutionResult::WithStateMachineArn
DescribeExecutionResult & WithStateMachineArn(const Aws::String &value)
Definition: DescribeExecutionResult.h:97
Aws::SFN::Model::DescribeExecutionResult::WithName
DescribeExecutionResult & WithName(const char *value)
Definition: DescribeExecutionResult.h:185
Aws::SFN::Model::DescribeExecutionResult::WithOutputDetails
DescribeExecutionResult & WithOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
Definition: DescribeExecutionResult.h:399
Aws::SFN::Model::DescribeExecutionResult::SetInput
void SetInput(const char *value)
Definition: DescribeExecutionResult.h:292
Aws::SFN::Model::DescribeExecutionResult::SetOutputDetails
void SetOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
Definition: DescribeExecutionResult.h:396
Aws::SFN::Model::DescribeExecutionResult::WithOutput
DescribeExecutionResult & WithOutput(const char *value)
Definition: DescribeExecutionResult.h:386
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::DescribeExecutionResult::GetOutput
const Aws::String & GetOutput() const
Definition: DescribeExecutionResult.h:338
Aws::SFN::Model::DescribeExecutionResult::WithStateMachineArn
DescribeExecutionResult & WithStateMachineArn(Aws::String &&value)
Definition: DescribeExecutionResult.h:102
Aws::SFN::Model::DescribeExecutionResult::GetStopDate
const Aws::Utils::DateTime & GetStopDate() const
Definition: DescribeExecutionResult.h:243
Aws::SFN::Model::DescribeExecutionResult::SetOutputDetails
void SetOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
Definition: DescribeExecutionResult.h:393
Aws::SFN::Model::DescribeExecutionResult::SetStartDate
void SetStartDate(const Aws::Utils::DateTime &value)
Definition: DescribeExecutionResult.h:222
Aws::SFN::Model::DescribeExecutionResult::WithStatus
DescribeExecutionResult & WithStatus(const ExecutionStatus &value)
Definition: DescribeExecutionResult.h:206
Aws::SFN::Model::ExecutionStatus
ExecutionStatus
Definition: ExecutionStatus.h:17
Aws::SFN::Model::DescribeExecutionResult::WithInput
DescribeExecutionResult & WithInput(const char *value)
Definition: DescribeExecutionResult.h:313