AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExecutionResult.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 <aws/states/model/CloudWatchEventsExecutionDataDetails.h>
12#include <aws/states/model/ExecutionRedriveStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SFN
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
44 inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
45 inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
46 inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
47 inline DescribeExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
48 inline DescribeExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
49 inline DescribeExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
51
53
56 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
57 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
58 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
59 inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
60 inline DescribeExecutionResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
61 inline DescribeExecutionResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
62 inline DescribeExecutionResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
64
66
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline void SetName(const Aws::String& value) { m_name = value; }
77 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
78 inline void SetName(const char* value) { m_name.assign(value); }
79 inline DescribeExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline DescribeExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline DescribeExecutionResult& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const ExecutionStatus& GetStatus() const{ return m_status; }
89 inline void SetStatus(const ExecutionStatus& value) { m_status = value; }
90 inline void SetStatus(ExecutionStatus&& value) { m_status = std::move(value); }
91 inline DescribeExecutionResult& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
92 inline DescribeExecutionResult& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
100 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
101 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
102 inline DescribeExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
103 inline DescribeExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
111 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; }
112 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); }
113 inline DescribeExecutionResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
114 inline DescribeExecutionResult& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
116
118
123 inline const Aws::String& GetInput() const{ return m_input; }
124 inline void SetInput(const Aws::String& value) { m_input = value; }
125 inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
126 inline void SetInput(const char* value) { m_input.assign(value); }
127 inline DescribeExecutionResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
128 inline DescribeExecutionResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
129 inline DescribeExecutionResult& WithInput(const char* value) { SetInput(value); return *this;}
131
133
134 inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; }
135 inline void SetInputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_inputDetails = value; }
136 inline void SetInputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_inputDetails = std::move(value); }
140
142
148 inline const Aws::String& GetOutput() const{ return m_output; }
149 inline void SetOutput(const Aws::String& value) { m_output = value; }
150 inline void SetOutput(Aws::String&& value) { m_output = std::move(value); }
151 inline void SetOutput(const char* value) { m_output.assign(value); }
152 inline DescribeExecutionResult& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
153 inline DescribeExecutionResult& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
154 inline DescribeExecutionResult& WithOutput(const char* value) { SetOutput(value); return *this;}
156
158
159 inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
160 inline void SetOutputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_outputDetails = value; }
161 inline void SetOutputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_outputDetails = std::move(value); }
165
167
170 inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
171 inline void SetTraceHeader(const Aws::String& value) { m_traceHeader = value; }
172 inline void SetTraceHeader(Aws::String&& value) { m_traceHeader = std::move(value); }
173 inline void SetTraceHeader(const char* value) { m_traceHeader.assign(value); }
174 inline DescribeExecutionResult& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
175 inline DescribeExecutionResult& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
176 inline DescribeExecutionResult& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
178
180
184 inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; }
185 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArn = value; }
186 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArn = std::move(value); }
187 inline void SetMapRunArn(const char* value) { m_mapRunArn.assign(value); }
188 inline DescribeExecutionResult& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
189 inline DescribeExecutionResult& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
190 inline DescribeExecutionResult& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
192
194
197 inline const Aws::String& GetError() const{ return m_error; }
198 inline void SetError(const Aws::String& value) { m_error = value; }
199 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
200 inline void SetError(const char* value) { m_error.assign(value); }
201 inline DescribeExecutionResult& WithError(const Aws::String& value) { SetError(value); return *this;}
202 inline DescribeExecutionResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
203 inline DescribeExecutionResult& WithError(const char* value) { SetError(value); return *this;}
205
207
210 inline const Aws::String& GetCause() const{ return m_cause; }
211 inline void SetCause(const Aws::String& value) { m_cause = value; }
212 inline void SetCause(Aws::String&& value) { m_cause = std::move(value); }
213 inline void SetCause(const char* value) { m_cause.assign(value); }
214 inline DescribeExecutionResult& WithCause(const Aws::String& value) { SetCause(value); return *this;}
215 inline DescribeExecutionResult& WithCause(Aws::String&& value) { SetCause(std::move(value)); return *this;}
216 inline DescribeExecutionResult& WithCause(const char* value) { SetCause(value); return *this;}
218
220
228 inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; }
229 inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArn = value; }
230 inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArn = std::move(value); }
231 inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArn.assign(value); }
234 inline DescribeExecutionResult& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(value); return *this;}
236
238
246 inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; }
247 inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArn = value; }
248 inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArn = std::move(value); }
249 inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArn.assign(value); }
251 inline DescribeExecutionResult& WithStateMachineAliasArn(Aws::String&& value) { SetStateMachineAliasArn(std::move(value)); return *this;}
252 inline DescribeExecutionResult& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;}
254
256
261 inline int GetRedriveCount() const{ return m_redriveCount; }
262 inline void SetRedriveCount(int value) { m_redriveCount = value; }
263 inline DescribeExecutionResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
265
267
273 inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; }
274 inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDate = value; }
275 inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDate = std::move(value); }
276 inline DescribeExecutionResult& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;}
277 inline DescribeExecutionResult& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;}
279
281
298 inline const ExecutionRedriveStatus& GetRedriveStatus() const{ return m_redriveStatus; }
299 inline void SetRedriveStatus(const ExecutionRedriveStatus& value) { m_redriveStatus = value; }
300 inline void SetRedriveStatus(ExecutionRedriveStatus&& value) { m_redriveStatus = std::move(value); }
302 inline DescribeExecutionResult& WithRedriveStatus(ExecutionRedriveStatus&& value) { SetRedriveStatus(std::move(value)); return *this;}
304
306
324 inline const Aws::String& GetRedriveStatusReason() const{ return m_redriveStatusReason; }
325 inline void SetRedriveStatusReason(const Aws::String& value) { m_redriveStatusReason = value; }
326 inline void SetRedriveStatusReason(Aws::String&& value) { m_redriveStatusReason = std::move(value); }
327 inline void SetRedriveStatusReason(const char* value) { m_redriveStatusReason.assign(value); }
329 inline DescribeExecutionResult& WithRedriveStatusReason(Aws::String&& value) { SetRedriveStatusReason(std::move(value)); return *this;}
330 inline DescribeExecutionResult& WithRedriveStatusReason(const char* value) { SetRedriveStatusReason(value); return *this;}
332
334
335 inline const Aws::String& GetRequestId() const{ return m_requestId; }
336 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
337 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
338 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
339 inline DescribeExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
340 inline DescribeExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
341 inline DescribeExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
343 private:
344
345 Aws::String m_executionArn;
346
347 Aws::String m_stateMachineArn;
348
349 Aws::String m_name;
350
351 ExecutionStatus m_status;
352
353 Aws::Utils::DateTime m_startDate;
354
355 Aws::Utils::DateTime m_stopDate;
356
357 Aws::String m_input;
358
360
361 Aws::String m_output;
362
364
365 Aws::String m_traceHeader;
366
367 Aws::String m_mapRunArn;
368
369 Aws::String m_error;
370
371 Aws::String m_cause;
372
373 Aws::String m_stateMachineVersionArn;
374
375 Aws::String m_stateMachineAliasArn;
376
377 int m_redriveCount;
378
379 Aws::Utils::DateTime m_redriveDate;
380
381 ExecutionRedriveStatus m_redriveStatus;
382
383 Aws::String m_redriveStatusReason;
384
385 Aws::String m_requestId;
386 };
387
388} // namespace Model
389} // namespace SFN
390} // namespace Aws
DescribeExecutionResult & WithExecutionArn(const Aws::String &value)
void SetStateMachineArn(const Aws::String &value)
DescribeExecutionResult & WithMapRunArn(const Aws::String &value)
DescribeExecutionResult & WithStatus(const ExecutionStatus &value)
DescribeExecutionResult & WithInput(const char *value)
const CloudWatchEventsExecutionDataDetails & GetInputDetails() const
DescribeExecutionResult & WithStateMachineVersionArn(Aws::String &&value)
DescribeExecutionResult & WithCause(const Aws::String &value)
DescribeExecutionResult & WithStateMachineAliasArn(const Aws::String &value)
DescribeExecutionResult & WithCause(Aws::String &&value)
DescribeExecutionResult & WithRedriveDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRedriveDate() const
const Aws::String & GetStateMachineVersionArn() const
void SetOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
void SetStateMachineAliasArn(const Aws::String &value)
DescribeExecutionResult & WithStateMachineArn(Aws::String &&value)
const ExecutionRedriveStatus & GetRedriveStatus() const
DescribeExecutionResult & WithOutput(const char *value)
DescribeExecutionResult & WithStateMachineAliasArn(Aws::String &&value)
DescribeExecutionResult & WithStateMachineVersionArn(const char *value)
DescribeExecutionResult & WithInputDetails(CloudWatchEventsExecutionDataDetails &&value)
DescribeExecutionResult & WithTraceHeader(const Aws::String &value)
DescribeExecutionResult & WithMapRunArn(const char *value)
void SetStartDate(const Aws::Utils::DateTime &value)
DescribeExecutionResult & WithRedriveStatusReason(Aws::String &&value)
AWS_SFN_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRedriveDate(const Aws::Utils::DateTime &value)
DescribeExecutionResult & WithMapRunArn(Aws::String &&value)
DescribeExecutionResult & WithError(Aws::String &&value)
DescribeExecutionResult & WithRedriveStatusReason(const Aws::String &value)
DescribeExecutionResult & WithError(const char *value)
void SetRedriveDate(Aws::Utils::DateTime &&value)
DescribeExecutionResult & WithOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
DescribeExecutionResult & WithRedriveCount(int value)
DescribeExecutionResult & WithTraceHeader(Aws::String &&value)
DescribeExecutionResult & WithCause(const char *value)
DescribeExecutionResult & WithStateMachineAliasArn(const char *value)
DescribeExecutionResult & WithTraceHeader(const char *value)
DescribeExecutionResult & WithInputDetails(const CloudWatchEventsExecutionDataDetails &value)
void SetInputDetails(CloudWatchEventsExecutionDataDetails &&value)
DescribeExecutionResult & WithInput(const Aws::String &value)
DescribeExecutionResult & WithStopDate(Aws::Utils::DateTime &&value)
void SetOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
DescribeExecutionResult & WithRedriveStatus(const ExecutionRedriveStatus &value)
DescribeExecutionResult & WithOutput(const Aws::String &value)
DescribeExecutionResult & WithStateMachineArn(const Aws::String &value)
void SetInputDetails(const CloudWatchEventsExecutionDataDetails &value)
DescribeExecutionResult & WithStartDate(const Aws::Utils::DateTime &value)
void SetStopDate(Aws::Utils::DateTime &&value)
void SetStopDate(const Aws::Utils::DateTime &value)
DescribeExecutionResult & WithRequestId(const char *value)
void SetRedriveStatus(const ExecutionRedriveStatus &value)
DescribeExecutionResult & WithName(Aws::String &&value)
void SetExecutionArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartDate() const
DescribeExecutionResult & WithInput(Aws::String &&value)
DescribeExecutionResult & WithRedriveStatusReason(const char *value)
DescribeExecutionResult & WithExecutionArn(const char *value)
DescribeExecutionResult & WithOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
void SetRedriveStatusReason(const Aws::String &value)
AWS_SFN_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStopDate() const
DescribeExecutionResult & WithRequestId(const Aws::String &value)
void SetStartDate(Aws::Utils::DateTime &&value)
DescribeExecutionResult & WithStartDate(Aws::Utils::DateTime &&value)
DescribeExecutionResult & WithName(const Aws::String &value)
DescribeExecutionResult & WithStateMachineArn(const char *value)
DescribeExecutionResult & WithName(const char *value)
DescribeExecutionResult & WithRequestId(Aws::String &&value)
DescribeExecutionResult & WithRedriveStatus(ExecutionRedriveStatus &&value)
void SetStateMachineVersionArn(const Aws::String &value)
const CloudWatchEventsExecutionDataDetails & GetOutputDetails() const
DescribeExecutionResult & WithExecutionArn(Aws::String &&value)
DescribeExecutionResult & WithError(const Aws::String &value)
DescribeExecutionResult & WithStateMachineVersionArn(const Aws::String &value)
DescribeExecutionResult & WithRedriveDate(const Aws::Utils::DateTime &value)
void SetRedriveStatus(ExecutionRedriveStatus &&value)
DescribeExecutionResult & WithOutput(Aws::String &&value)
void SetStatus(const ExecutionStatus &value)
DescribeExecutionResult & WithStopDate(const Aws::Utils::DateTime &value)
DescribeExecutionResult & WithStatus(ExecutionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue