AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_SFN_API DescribeExecutionResult() = default;
37
38
40
43 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
44 template<typename ExecutionArnT = Aws::String>
45 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
46 template<typename ExecutionArnT = Aws::String>
47 DescribeExecutionResult& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
55 template<typename StateMachineArnT = Aws::String>
56 void SetStateMachineArn(StateMachineArnT&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::forward<StateMachineArnT>(value); }
57 template<typename StateMachineArnT = Aws::String>
58 DescribeExecutionResult& WithStateMachineArn(StateMachineArnT&& value) { SetStateMachineArn(std::forward<StateMachineArnT>(value)); return *this;}
60
62
73 inline const Aws::String& GetName() const { return m_name; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 DescribeExecutionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline ExecutionStatus GetStatus() const { return m_status; }
85 inline void SetStatus(ExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline DescribeExecutionResult& WithStatus(ExecutionStatus value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
94 template<typename StartDateT = Aws::Utils::DateTime>
95 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
96 template<typename StartDateT = Aws::Utils::DateTime>
97 DescribeExecutionResult& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
105 template<typename StopDateT = Aws::Utils::DateTime>
106 void SetStopDate(StopDateT&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::forward<StopDateT>(value); }
107 template<typename StopDateT = Aws::Utils::DateTime>
108 DescribeExecutionResult& WithStopDate(StopDateT&& value) { SetStopDate(std::forward<StopDateT>(value)); return *this;}
110
112
117 inline const Aws::String& GetInput() const { return m_input; }
118 template<typename InputT = Aws::String>
119 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
120 template<typename InputT = Aws::String>
121 DescribeExecutionResult& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
123
125
126 inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
127 template<typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
128 void SetInputDetails(InputDetailsT&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::forward<InputDetailsT>(value); }
129 template<typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
130 DescribeExecutionResult& WithInputDetails(InputDetailsT&& value) { SetInputDetails(std::forward<InputDetailsT>(value)); return *this;}
132
134
140 inline const Aws::String& GetOutput() const { return m_output; }
141 template<typename OutputT = Aws::String>
142 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
143 template<typename OutputT = Aws::String>
144 DescribeExecutionResult& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
146
148
149 inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
150 template<typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
151 void SetOutputDetails(OutputDetailsT&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::forward<OutputDetailsT>(value); }
152 template<typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
153 DescribeExecutionResult& WithOutputDetails(OutputDetailsT&& value) { SetOutputDetails(std::forward<OutputDetailsT>(value)); return *this;}
155
157
167 inline const Aws::String& GetTraceHeader() const { return m_traceHeader; }
168 template<typename TraceHeaderT = Aws::String>
169 void SetTraceHeader(TraceHeaderT&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::forward<TraceHeaderT>(value); }
170 template<typename TraceHeaderT = Aws::String>
171 DescribeExecutionResult& WithTraceHeader(TraceHeaderT&& value) { SetTraceHeader(std::forward<TraceHeaderT>(value)); return *this;}
173
175
179 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
180 template<typename MapRunArnT = Aws::String>
181 void SetMapRunArn(MapRunArnT&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::forward<MapRunArnT>(value); }
182 template<typename MapRunArnT = Aws::String>
183 DescribeExecutionResult& WithMapRunArn(MapRunArnT&& value) { SetMapRunArn(std::forward<MapRunArnT>(value)); return *this;}
185
187
190 inline const Aws::String& GetError() const { return m_error; }
191 template<typename ErrorT = Aws::String>
192 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
193 template<typename ErrorT = Aws::String>
194 DescribeExecutionResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
196
198
201 inline const Aws::String& GetCause() const { return m_cause; }
202 template<typename CauseT = Aws::String>
203 void SetCause(CauseT&& value) { m_causeHasBeenSet = true; m_cause = std::forward<CauseT>(value); }
204 template<typename CauseT = Aws::String>
205 DescribeExecutionResult& WithCause(CauseT&& value) { SetCause(std::forward<CauseT>(value)); return *this;}
207
209
217 inline const Aws::String& GetStateMachineVersionArn() const { return m_stateMachineVersionArn; }
218 template<typename StateMachineVersionArnT = Aws::String>
219 void SetStateMachineVersionArn(StateMachineVersionArnT&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::forward<StateMachineVersionArnT>(value); }
220 template<typename StateMachineVersionArnT = Aws::String>
221 DescribeExecutionResult& WithStateMachineVersionArn(StateMachineVersionArnT&& value) { SetStateMachineVersionArn(std::forward<StateMachineVersionArnT>(value)); return *this;}
223
225
233 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
234 template<typename StateMachineAliasArnT = Aws::String>
235 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value); }
236 template<typename StateMachineAliasArnT = Aws::String>
237 DescribeExecutionResult& WithStateMachineAliasArn(StateMachineAliasArnT&& value) { SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value)); return *this;}
239
241
246 inline int GetRedriveCount() const { return m_redriveCount; }
247 inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; }
248 inline DescribeExecutionResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
250
252
258 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
259 template<typename RedriveDateT = Aws::Utils::DateTime>
260 void SetRedriveDate(RedriveDateT&& value) { m_redriveDateHasBeenSet = true; m_redriveDate = std::forward<RedriveDateT>(value); }
261 template<typename RedriveDateT = Aws::Utils::DateTime>
262 DescribeExecutionResult& WithRedriveDate(RedriveDateT&& value) { SetRedriveDate(std::forward<RedriveDateT>(value)); return *this;}
264
266
283 inline ExecutionRedriveStatus GetRedriveStatus() const { return m_redriveStatus; }
284 inline void SetRedriveStatus(ExecutionRedriveStatus value) { m_redriveStatusHasBeenSet = true; m_redriveStatus = value; }
287
289
307 inline const Aws::String& GetRedriveStatusReason() const { return m_redriveStatusReason; }
308 template<typename RedriveStatusReasonT = Aws::String>
309 void SetRedriveStatusReason(RedriveStatusReasonT&& value) { m_redriveStatusReasonHasBeenSet = true; m_redriveStatusReason = std::forward<RedriveStatusReasonT>(value); }
310 template<typename RedriveStatusReasonT = Aws::String>
311 DescribeExecutionResult& WithRedriveStatusReason(RedriveStatusReasonT&& value) { SetRedriveStatusReason(std::forward<RedriveStatusReasonT>(value)); return *this;}
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template<typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
319 template<typename RequestIdT = Aws::String>
320 DescribeExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
322 private:
323
324 Aws::String m_executionArn;
325 bool m_executionArnHasBeenSet = false;
326
327 Aws::String m_stateMachineArn;
328 bool m_stateMachineArnHasBeenSet = false;
329
330 Aws::String m_name;
331 bool m_nameHasBeenSet = false;
332
334 bool m_statusHasBeenSet = false;
335
336 Aws::Utils::DateTime m_startDate{};
337 bool m_startDateHasBeenSet = false;
338
339 Aws::Utils::DateTime m_stopDate{};
340 bool m_stopDateHasBeenSet = false;
341
342 Aws::String m_input;
343 bool m_inputHasBeenSet = false;
344
345 CloudWatchEventsExecutionDataDetails m_inputDetails;
346 bool m_inputDetailsHasBeenSet = false;
347
348 Aws::String m_output;
349 bool m_outputHasBeenSet = false;
350
351 CloudWatchEventsExecutionDataDetails m_outputDetails;
352 bool m_outputDetailsHasBeenSet = false;
353
354 Aws::String m_traceHeader;
355 bool m_traceHeaderHasBeenSet = false;
356
357 Aws::String m_mapRunArn;
358 bool m_mapRunArnHasBeenSet = false;
359
360 Aws::String m_error;
361 bool m_errorHasBeenSet = false;
362
363 Aws::String m_cause;
364 bool m_causeHasBeenSet = false;
365
366 Aws::String m_stateMachineVersionArn;
367 bool m_stateMachineVersionArnHasBeenSet = false;
368
369 Aws::String m_stateMachineAliasArn;
370 bool m_stateMachineAliasArnHasBeenSet = false;
371
372 int m_redriveCount{0};
373 bool m_redriveCountHasBeenSet = false;
374
375 Aws::Utils::DateTime m_redriveDate{};
376 bool m_redriveDateHasBeenSet = false;
377
379 bool m_redriveStatusHasBeenSet = false;
380
381 Aws::String m_redriveStatusReason;
382 bool m_redriveStatusReasonHasBeenSet = false;
383
384 Aws::String m_requestId;
385 bool m_requestIdHasBeenSet = false;
386 };
387
388} // namespace Model
389} // namespace SFN
390} // namespace Aws
const CloudWatchEventsExecutionDataDetails & GetInputDetails() const
DescribeExecutionResult & WithStatus(ExecutionStatus value)
DescribeExecutionResult & WithRedriveStatus(ExecutionRedriveStatus value)
const Aws::Utils::DateTime & GetRedriveDate() const
DescribeExecutionResult & WithExecutionArn(ExecutionArnT &&value)
const Aws::String & GetStateMachineVersionArn() const
DescribeExecutionResult & WithRequestId(RequestIdT &&value)
DescribeExecutionResult & WithTraceHeader(TraceHeaderT &&value)
DescribeExecutionResult & WithError(ErrorT &&value)
DescribeExecutionResult & WithStateMachineVersionArn(StateMachineVersionArnT &&value)
DescribeExecutionResult & WithCause(CauseT &&value)
void SetStateMachineArn(StateMachineArnT &&value)
DescribeExecutionResult & WithInput(InputT &&value)
DescribeExecutionResult & WithRedriveDate(RedriveDateT &&value)
DescribeExecutionResult & WithStartDate(StartDateT &&value)
AWS_SFN_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStateMachineVersionArn(StateMachineVersionArnT &&value)
DescribeExecutionResult & WithRedriveCount(int value)
void SetStateMachineAliasArn(StateMachineAliasArnT &&value)
DescribeExecutionResult & WithStateMachineArn(StateMachineArnT &&value)
DescribeExecutionResult & WithStateMachineAliasArn(StateMachineAliasArnT &&value)
AWS_SFN_API DescribeExecutionResult()=default
DescribeExecutionResult & WithInputDetails(InputDetailsT &&value)
ExecutionRedriveStatus GetRedriveStatus() const
const Aws::Utils::DateTime & GetStartDate() const
DescribeExecutionResult & WithStopDate(StopDateT &&value)
DescribeExecutionResult & WithName(NameT &&value)
AWS_SFN_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStopDate() const
DescribeExecutionResult & WithOutputDetails(OutputDetailsT &&value)
const CloudWatchEventsExecutionDataDetails & GetOutputDetails() const
void SetRedriveStatus(ExecutionRedriveStatus value)
DescribeExecutionResult & WithOutput(OutputT &&value)
DescribeExecutionResult & WithMapRunArn(MapRunArnT &&value)
DescribeExecutionResult & WithRedriveStatusReason(RedriveStatusReasonT &&value)
void SetRedriveStatusReason(RedriveStatusReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue