7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/StartingEventBatchCondition.h>
12#include <aws/glue/model/WorkflowGraph.h>
13#include <aws/glue/model/WorkflowRunStatistics.h>
14#include <aws/glue/model/WorkflowRunStatus.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename WorkflowRunIdT = Aws::String>
67 m_workflowRunIdHasBeenSet =
true;
68 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
70 template <
typename WorkflowRunIdT = Aws::String>
83 template <
typename PreviousRunIdT = Aws::String>
85 m_previousRunIdHasBeenSet =
true;
86 m_previousRunId = std::forward<PreviousRunIdT>(value);
88 template <
typename PreviousRunIdT = Aws::String>
101 template <
typename WorkflowRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
103 m_workflowRunPropertiesHasBeenSet =
true;
104 m_workflowRunProperties = std::forward<WorkflowRunPropertiesT>(value);
106 template <
typename WorkflowRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
111 template <
typename WorkflowRunPropertiesKeyT = Aws::String,
typename WorkflowRunPropertiesValueT = Aws::String>
113 m_workflowRunPropertiesHasBeenSet =
true;
114 m_workflowRunProperties.emplace(std::forward<WorkflowRunPropertiesKeyT>(key), std::forward<WorkflowRunPropertiesValueT>(value));
125 template <
typename StartedOnT = Aws::Utils::DateTime>
127 m_startedOnHasBeenSet =
true;
128 m_startedOn = std::forward<StartedOnT>(value);
130 template <
typename StartedOnT = Aws::Utils::DateTime>
143 template <
typename CompletedOnT = Aws::Utils::DateTime>
145 m_completedOnHasBeenSet =
true;
146 m_completedOn = std::forward<CompletedOnT>(value);
148 template <
typename CompletedOnT = Aws::Utils::DateTime>
162 m_statusHasBeenSet =
true;
179 template <
typename ErrorMessageT = Aws::String>
181 m_errorMessageHasBeenSet =
true;
182 m_errorMessage = std::forward<ErrorMessageT>(value);
184 template <
typename ErrorMessageT = Aws::String>
197 template <
typename StatisticsT = WorkflowRunStatistics>
199 m_statisticsHasBeenSet =
true;
200 m_statistics = std::forward<StatisticsT>(value);
202 template <
typename StatisticsT = WorkflowRunStatistics>
216 template <
typename GraphT = WorkflowGraph>
218 m_graphHasBeenSet =
true;
219 m_graph = std::forward<GraphT>(value);
221 template <
typename GraphT = WorkflowGraph>
223 SetGraph(std::forward<GraphT>(value));
234 template <
typename StartingEventBatchConditionT = StartingEventBatchCondition>
236 m_startingEventBatchConditionHasBeenSet =
true;
237 m_startingEventBatchCondition = std::forward<StartingEventBatchConditionT>(value);
239 template <
typename StartingEventBatchConditionT = StartingEventBatchCondition>
262 WorkflowRunStatistics m_statistics;
264 WorkflowGraph m_graph;
266 StartingEventBatchCondition m_startingEventBatchCondition;
267 bool m_nameHasBeenSet =
false;
268 bool m_workflowRunIdHasBeenSet =
false;
269 bool m_previousRunIdHasBeenSet =
false;
270 bool m_workflowRunPropertiesHasBeenSet =
false;
271 bool m_startedOnHasBeenSet =
false;
272 bool m_completedOnHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
274 bool m_errorMessageHasBeenSet =
false;
275 bool m_statisticsHasBeenSet =
false;
276 bool m_graphHasBeenSet =
false;
277 bool m_startingEventBatchConditionHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
void SetStartingEventBatchCondition(StartingEventBatchConditionT &&value)
void SetStatistics(StatisticsT &&value)
AWS_GLUE_API WorkflowRun(Aws::Utils::Json::JsonView jsonValue)
WorkflowRun & WithGraph(GraphT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPreviousRunId() const
const Aws::Utils::DateTime & GetStartedOn() const
void SetName(NameT &&value)
WorkflowRun & WithErrorMessage(ErrorMessageT &&value)
WorkflowRun & WithCompletedOn(CompletedOnT &&value)
const Aws::Utils::DateTime & GetCompletedOn() const
WorkflowRun & WithWorkflowRunProperties(WorkflowRunPropertiesT &&value)
void SetGraph(GraphT &&value)
WorkflowRun & WithStartedOn(StartedOnT &&value)
const WorkflowGraph & GetGraph() const
bool StartingEventBatchConditionHasBeenSet() const
WorkflowRun & WithStartingEventBatchCondition(StartingEventBatchConditionT &&value)
WorkflowRun & WithPreviousRunId(PreviousRunIdT &&value)
bool StartedOnHasBeenSet() const
AWS_GLUE_API WorkflowRun()=default
WorkflowRun & WithWorkflowRunId(WorkflowRunIdT &&value)
const Aws::String & GetName() const
void SetStartedOn(StartedOnT &&value)
void SetPreviousRunId(PreviousRunIdT &&value)
void SetWorkflowRunProperties(WorkflowRunPropertiesT &&value)
AWS_GLUE_API WorkflowRun & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatisticsHasBeenSet() const
const WorkflowRunStatistics & GetStatistics() const
bool NameHasBeenSet() const
WorkflowRun & WithStatus(WorkflowRunStatus value)
WorkflowRun & AddWorkflowRunProperties(WorkflowRunPropertiesKeyT &&key, WorkflowRunPropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetWorkflowRunProperties() const
WorkflowRun & WithName(NameT &&value)
bool PreviousRunIdHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
bool WorkflowRunPropertiesHasBeenSet() const
const Aws::String & GetWorkflowRunId() const
bool ErrorMessageHasBeenSet() const
WorkflowRun & WithStatistics(StatisticsT &&value)
const StartingEventBatchCondition & GetStartingEventBatchCondition() const
void SetWorkflowRunId(WorkflowRunIdT &&value)
void SetStatus(WorkflowRunStatus value)
bool StatusHasBeenSet() const
bool CompletedOnHasBeenSet() const
void SetCompletedOn(CompletedOnT &&value)
bool WorkflowRunIdHasBeenSet() const
bool GraphHasBeenSet() const
WorkflowRunStatus GetStatus() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue