/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A workflow run is an execution of a workflow providing all the runtime
* information.See Also:
AWS
* API Reference
Name of the workflow that was run.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of the workflow that was run.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of the workflow that was run.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of the workflow that was run.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of the workflow that was run.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of the workflow that was run.
*/ inline WorkflowRun& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of the workflow that was run.
*/ inline WorkflowRun& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of the workflow that was run.
*/ inline WorkflowRun& WithName(const char* value) { SetName(value); return *this;} /** *The ID of this workflow run.
*/ inline const Aws::String& GetWorkflowRunId() const{ return m_workflowRunId; } /** *The ID of this workflow run.
*/ inline bool WorkflowRunIdHasBeenSet() const { return m_workflowRunIdHasBeenSet; } /** *The ID of this workflow run.
*/ inline void SetWorkflowRunId(const Aws::String& value) { m_workflowRunIdHasBeenSet = true; m_workflowRunId = value; } /** *The ID of this workflow run.
*/ inline void SetWorkflowRunId(Aws::String&& value) { m_workflowRunIdHasBeenSet = true; m_workflowRunId = std::move(value); } /** *The ID of this workflow run.
*/ inline void SetWorkflowRunId(const char* value) { m_workflowRunIdHasBeenSet = true; m_workflowRunId.assign(value); } /** *The ID of this workflow run.
*/ inline WorkflowRun& WithWorkflowRunId(const Aws::String& value) { SetWorkflowRunId(value); return *this;} /** *The ID of this workflow run.
*/ inline WorkflowRun& WithWorkflowRunId(Aws::String&& value) { SetWorkflowRunId(std::move(value)); return *this;} /** *The ID of this workflow run.
*/ inline WorkflowRun& WithWorkflowRunId(const char* value) { SetWorkflowRunId(value); return *this;} /** *The ID of the previous workflow run.
*/ inline const Aws::String& GetPreviousRunId() const{ return m_previousRunId; } /** *The ID of the previous workflow run.
*/ inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; } /** *The ID of the previous workflow run.
*/ inline void SetPreviousRunId(const Aws::String& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = value; } /** *The ID of the previous workflow run.
*/ inline void SetPreviousRunId(Aws::String&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::move(value); } /** *The ID of the previous workflow run.
*/ inline void SetPreviousRunId(const char* value) { m_previousRunIdHasBeenSet = true; m_previousRunId.assign(value); } /** *The ID of the previous workflow run.
*/ inline WorkflowRun& WithPreviousRunId(const Aws::String& value) { SetPreviousRunId(value); return *this;} /** *The ID of the previous workflow run.
*/ inline WorkflowRun& WithPreviousRunId(Aws::String&& value) { SetPreviousRunId(std::move(value)); return *this;} /** *The ID of the previous workflow run.
*/ inline WorkflowRun& WithPreviousRunId(const char* value) { SetPreviousRunId(value); return *this;} /** *The workflow run properties which were set during the run.
*/ inline const Aws::MapThe workflow run properties which were set during the run.
*/ inline bool WorkflowRunPropertiesHasBeenSet() const { return m_workflowRunPropertiesHasBeenSet; } /** *The workflow run properties which were set during the run.
*/ inline void SetWorkflowRunProperties(const Aws::MapThe workflow run properties which were set during the run.
*/ inline void SetWorkflowRunProperties(Aws::MapThe workflow run properties which were set during the run.
*/ inline WorkflowRun& WithWorkflowRunProperties(const Aws::MapThe workflow run properties which were set during the run.
*/ inline WorkflowRun& WithWorkflowRunProperties(Aws::MapThe workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(const Aws::String& key, const Aws::String& value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(key, value); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(Aws::String&& key, const Aws::String& value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(std::move(key), value); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(const Aws::String& key, Aws::String&& value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(key, std::move(value)); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(Aws::String&& key, Aws::String&& value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(std::move(key), std::move(value)); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(const char* key, Aws::String&& value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(key, std::move(value)); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(Aws::String&& key, const char* value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(std::move(key), value); return *this; } /** *The workflow run properties which were set during the run.
*/ inline WorkflowRun& AddWorkflowRunProperties(const char* key, const char* value) { m_workflowRunPropertiesHasBeenSet = true; m_workflowRunProperties.emplace(key, value); return *this; } /** *The date and time when the workflow run was started.
*/ inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; } /** *The date and time when the workflow run was started.
*/ inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; } /** *The date and time when the workflow run was started.
*/ inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; } /** *The date and time when the workflow run was started.
*/ inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); } /** *The date and time when the workflow run was started.
*/ inline WorkflowRun& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;} /** *The date and time when the workflow run was started.
*/ inline WorkflowRun& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;} /** *The date and time when the workflow run completed.
*/ inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; } /** *The date and time when the workflow run completed.
*/ inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; } /** *The date and time when the workflow run completed.
*/ inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; } /** *The date and time when the workflow run completed.
*/ inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); } /** *The date and time when the workflow run completed.
*/ inline WorkflowRun& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;} /** *The date and time when the workflow run completed.
*/ inline WorkflowRun& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;} /** *The status of the workflow run.
*/ inline const WorkflowRunStatus& GetStatus() const{ return m_status; } /** *The status of the workflow run.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the workflow run.
*/ inline void SetStatus(const WorkflowRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the workflow run.
*/ inline void SetStatus(WorkflowRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the workflow run.
*/ inline WorkflowRun& WithStatus(const WorkflowRunStatus& value) { SetStatus(value); return *this;} /** *The status of the workflow run.
*/ inline WorkflowRun& WithStatus(WorkflowRunStatus&& value) { SetStatus(std::move(value)); return *this;} /** *This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
This error message describes any error that may have occurred in starting the
* workflow run. Currently the only error message is "Concurrent runs exceeded for
* workflow: foo
."
The statistics of the run.
*/ inline const WorkflowRunStatistics& GetStatistics() const{ return m_statistics; } /** *The statistics of the run.
*/ inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } /** *The statistics of the run.
*/ inline void SetStatistics(const WorkflowRunStatistics& value) { m_statisticsHasBeenSet = true; m_statistics = value; } /** *The statistics of the run.
*/ inline void SetStatistics(WorkflowRunStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } /** *The statistics of the run.
*/ inline WorkflowRun& WithStatistics(const WorkflowRunStatistics& value) { SetStatistics(value); return *this;} /** *The statistics of the run.
*/ inline WorkflowRun& WithStatistics(WorkflowRunStatistics&& value) { SetStatistics(std::move(value)); return *this;} /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline const WorkflowGraph& GetGraph() const{ return m_graph; } /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline bool GraphHasBeenSet() const { return m_graphHasBeenSet; } /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline void SetGraph(const WorkflowGraph& value) { m_graphHasBeenSet = true; m_graph = value; } /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline void SetGraph(WorkflowGraph&& value) { m_graphHasBeenSet = true; m_graph = std::move(value); } /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline WorkflowRun& WithGraph(const WorkflowGraph& value) { SetGraph(value); return *this;} /** *The graph representing all the Glue components that belong to the workflow as * nodes and directed connections between them as edges.
*/ inline WorkflowRun& WithGraph(WorkflowGraph&& value) { SetGraph(std::move(value)); return *this;} /** *The batch condition that started the workflow run.
*/ inline const StartingEventBatchCondition& GetStartingEventBatchCondition() const{ return m_startingEventBatchCondition; } /** *The batch condition that started the workflow run.
*/ inline bool StartingEventBatchConditionHasBeenSet() const { return m_startingEventBatchConditionHasBeenSet; } /** *The batch condition that started the workflow run.
*/ inline void SetStartingEventBatchCondition(const StartingEventBatchCondition& value) { m_startingEventBatchConditionHasBeenSet = true; m_startingEventBatchCondition = value; } /** *The batch condition that started the workflow run.
*/ inline void SetStartingEventBatchCondition(StartingEventBatchCondition&& value) { m_startingEventBatchConditionHasBeenSet = true; m_startingEventBatchCondition = std::move(value); } /** *The batch condition that started the workflow run.
*/ inline WorkflowRun& WithStartingEventBatchCondition(const StartingEventBatchCondition& value) { SetStartingEventBatchCondition(value); return *this;} /** *The batch condition that started the workflow run.
*/ inline WorkflowRun& WithStartingEventBatchCondition(StartingEventBatchCondition&& value) { SetStartingEventBatchCondition(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_workflowRunId; bool m_workflowRunIdHasBeenSet = false; Aws::String m_previousRunId; bool m_previousRunIdHasBeenSet = false; Aws::Map