7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/glue/model/WorkflowRunStatus.h>
12#include <aws/glue/model/WorkflowRunStatistics.h>
13#include <aws/glue/model/WorkflowGraph.h>
14#include <aws/glue/model/StartingEventBatchCondition.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename WorkflowRunIdT = Aws::String>
66 void SetWorkflowRunId(WorkflowRunIdT&& value) { m_workflowRunIdHasBeenSet =
true; m_workflowRunId = std::forward<WorkflowRunIdT>(value); }
67 template<
typename WorkflowRunIdT = Aws::String>
77 template<
typename PreviousRunIdT = Aws::String>
78 void SetPreviousRunId(PreviousRunIdT&& value) { m_previousRunIdHasBeenSet =
true; m_previousRunId = std::forward<PreviousRunIdT>(value); }
79 template<
typename PreviousRunIdT = Aws::String>
89 template<
typename WorkflowRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
90 void SetWorkflowRunProperties(WorkflowRunPropertiesT&& value) { m_workflowRunPropertiesHasBeenSet =
true; m_workflowRunProperties = std::forward<WorkflowRunPropertiesT>(value); }
91 template<
typename WorkflowRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
93 template<
typename WorkflowRunPropertiesKeyT = Aws::String,
typename WorkflowRunPropertiesValueT = Aws::String>
95 m_workflowRunPropertiesHasBeenSet =
true; m_workflowRunProperties.emplace(std::forward<WorkflowRunPropertiesKeyT>(key), std::forward<WorkflowRunPropertiesValueT>(value));
return *
this;
105 template<
typename StartedOnT = Aws::Utils::DateTime>
106 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet =
true; m_startedOn = std::forward<StartedOnT>(value); }
107 template<
typename StartedOnT = Aws::Utils::DateTime>
117 template<
typename CompletedOnT = Aws::Utils::DateTime>
118 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet =
true; m_completedOn = std::forward<CompletedOnT>(value); }
119 template<
typename CompletedOnT = Aws::Utils::DateTime>
141 template<
typename ErrorMessageT = Aws::String>
142 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
143 template<
typename ErrorMessageT = Aws::String>
153 template<
typename StatisticsT = WorkflowRunStatistics>
154 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
155 template<
typename StatisticsT = WorkflowRunStatistics>
166 template<
typename GraphT = WorkflowGraph>
167 void SetGraph(GraphT&& value) { m_graphHasBeenSet =
true; m_graph = std::forward<GraphT>(value); }
168 template<
typename GraphT = WorkflowGraph>
178 template<
typename StartingEventBatchConditionT = StartingEventBatchCondition>
179 void SetStartingEventBatchCondition(StartingEventBatchConditionT&& value) { m_startingEventBatchConditionHasBeenSet =
true; m_startingEventBatchCondition = std::forward<StartingEventBatchConditionT>(value); }
180 template<
typename StartingEventBatchConditionT = StartingEventBatchCondition>
186 bool m_nameHasBeenSet =
false;
189 bool m_workflowRunIdHasBeenSet =
false;
192 bool m_previousRunIdHasBeenSet =
false;
195 bool m_workflowRunPropertiesHasBeenSet =
false;
198 bool m_startedOnHasBeenSet =
false;
201 bool m_completedOnHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_errorMessageHasBeenSet =
false;
209 WorkflowRunStatistics m_statistics;
210 bool m_statisticsHasBeenSet =
false;
212 WorkflowGraph m_graph;
213 bool m_graphHasBeenSet =
false;
215 StartingEventBatchCondition m_startingEventBatchCondition;
216 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