/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Metadata that includes details and status from this runtime instance of the
* workflow.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline const Aws::String& GetWorkflowBuildVersionArn() const{ return m_workflowBuildVersionArn; } /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline bool WorkflowBuildVersionArnHasBeenSet() const { return m_workflowBuildVersionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline void SetWorkflowBuildVersionArn(const Aws::String& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = value; } /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline void SetWorkflowBuildVersionArn(Aws::String&& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline void SetWorkflowBuildVersionArn(const char* value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline WorkflowExecutionMetadata& WithWorkflowBuildVersionArn(const Aws::String& value) { SetWorkflowBuildVersionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline WorkflowExecutionMetadata& WithWorkflowBuildVersionArn(Aws::String&& value) { SetWorkflowBuildVersionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the workflow resource build version that * ran.
*/ inline WorkflowExecutionMetadata& WithWorkflowBuildVersionArn(const char* value) { SetWorkflowBuildVersionArn(value); return *this;} /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline const Aws::String& GetWorkflowExecutionId() const{ return m_workflowExecutionId; } /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline bool WorkflowExecutionIdHasBeenSet() const { return m_workflowExecutionIdHasBeenSet; } /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline void SetWorkflowExecutionId(const Aws::String& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = value; } /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline void SetWorkflowExecutionId(Aws::String&& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = std::move(value); } /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline void SetWorkflowExecutionId(const char* value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId.assign(value); } /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline WorkflowExecutionMetadata& WithWorkflowExecutionId(const Aws::String& value) { SetWorkflowExecutionId(value); return *this;} /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline WorkflowExecutionMetadata& WithWorkflowExecutionId(Aws::String&& value) { SetWorkflowExecutionId(std::move(value)); return *this;} /** *Unique identifier that Image Builder assigns to keep track of runtime * resources each time it runs a workflow.
*/ inline WorkflowExecutionMetadata& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;} /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline const WorkflowType& GetType() const{ return m_type; } /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline WorkflowExecutionMetadata& WithType(const WorkflowType& value) { SetType(value); return *this;} /** *Indicates what type of workflow that Image Builder ran for this runtime * instance of the workflow.
*/ inline WorkflowExecutionMetadata& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;} /** *The current runtime status for this workflow.
*/ inline const WorkflowExecutionStatus& GetStatus() const{ return m_status; } /** *The current runtime status for this workflow.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current runtime status for this workflow.
*/ inline void SetStatus(const WorkflowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current runtime status for this workflow.
*/ inline void SetStatus(WorkflowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current runtime status for this workflow.
*/ inline WorkflowExecutionMetadata& WithStatus(const WorkflowExecutionStatus& value) { SetStatus(value); return *this;} /** *The current runtime status for this workflow.
*/ inline WorkflowExecutionMetadata& WithStatus(WorkflowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The runtime output message from the workflow, if applicable.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The runtime output message from the workflow, if applicable.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The runtime output message from the workflow, if applicable.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The runtime output message from the workflow, if applicable.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The runtime output message from the workflow, if applicable.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The runtime output message from the workflow, if applicable.
*/ inline WorkflowExecutionMetadata& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The runtime output message from the workflow, if applicable.
*/ inline WorkflowExecutionMetadata& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The runtime output message from the workflow, if applicable.
*/ inline WorkflowExecutionMetadata& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The total number of steps in the workflow. This should equal the sum of the * step counts for steps that succeeded, were skipped, and failed.
*/ inline int GetTotalStepCount() const{ return m_totalStepCount; } /** *The total number of steps in the workflow. This should equal the sum of the * step counts for steps that succeeded, were skipped, and failed.
*/ inline bool TotalStepCountHasBeenSet() const { return m_totalStepCountHasBeenSet; } /** *The total number of steps in the workflow. This should equal the sum of the * step counts for steps that succeeded, were skipped, and failed.
*/ inline void SetTotalStepCount(int value) { m_totalStepCountHasBeenSet = true; m_totalStepCount = value; } /** *The total number of steps in the workflow. This should equal the sum of the * step counts for steps that succeeded, were skipped, and failed.
*/ inline WorkflowExecutionMetadata& WithTotalStepCount(int value) { SetTotalStepCount(value); return *this;} /** *A runtime count for the number of steps in the workflow that ran * successfully.
*/ inline int GetTotalStepsSucceeded() const{ return m_totalStepsSucceeded; } /** *A runtime count for the number of steps in the workflow that ran * successfully.
*/ inline bool TotalStepsSucceededHasBeenSet() const { return m_totalStepsSucceededHasBeenSet; } /** *A runtime count for the number of steps in the workflow that ran * successfully.
*/ inline void SetTotalStepsSucceeded(int value) { m_totalStepsSucceededHasBeenSet = true; m_totalStepsSucceeded = value; } /** *A runtime count for the number of steps in the workflow that ran * successfully.
*/ inline WorkflowExecutionMetadata& WithTotalStepsSucceeded(int value) { SetTotalStepsSucceeded(value); return *this;} /** *A runtime count for the number of steps in the workflow that failed.
*/ inline int GetTotalStepsFailed() const{ return m_totalStepsFailed; } /** *A runtime count for the number of steps in the workflow that failed.
*/ inline bool TotalStepsFailedHasBeenSet() const { return m_totalStepsFailedHasBeenSet; } /** *A runtime count for the number of steps in the workflow that failed.
*/ inline void SetTotalStepsFailed(int value) { m_totalStepsFailedHasBeenSet = true; m_totalStepsFailed = value; } /** *A runtime count for the number of steps in the workflow that failed.
*/ inline WorkflowExecutionMetadata& WithTotalStepsFailed(int value) { SetTotalStepsFailed(value); return *this;} /** *A runtime count for the number of steps in the workflow that were * skipped.
*/ inline int GetTotalStepsSkipped() const{ return m_totalStepsSkipped; } /** *A runtime count for the number of steps in the workflow that were * skipped.
*/ inline bool TotalStepsSkippedHasBeenSet() const { return m_totalStepsSkippedHasBeenSet; } /** *A runtime count for the number of steps in the workflow that were * skipped.
*/ inline void SetTotalStepsSkipped(int value) { m_totalStepsSkippedHasBeenSet = true; m_totalStepsSkipped = value; } /** *A runtime count for the number of steps in the workflow that were * skipped.
*/ inline WorkflowExecutionMetadata& WithTotalStepsSkipped(int value) { SetTotalStepsSkipped(value); return *this;} /** *The timestamp when the runtime instance of this workflow started.
*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *The timestamp when the runtime instance of this workflow started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The timestamp when the runtime instance of this workflow started.
*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The timestamp when the runtime instance of this workflow started.
*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The timestamp when the runtime instance of this workflow started.
*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *The timestamp when the runtime instance of this workflow started.
*/ inline WorkflowExecutionMetadata& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *The timestamp when the runtime instance of this workflow started.
*/ inline WorkflowExecutionMetadata& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *The timestamp when the runtime instance of this workflow started.
*/ inline WorkflowExecutionMetadata& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *The timestamp when this runtime instance of the workflow finished.
*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *The timestamp when this runtime instance of the workflow finished.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The timestamp when this runtime instance of the workflow finished.
*/ inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The timestamp when this runtime instance of the workflow finished.
*/ inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The timestamp when this runtime instance of the workflow finished.
*/ inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); } /** *The timestamp when this runtime instance of the workflow finished.
*/ inline WorkflowExecutionMetadata& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *The timestamp when this runtime instance of the workflow finished.
*/ inline WorkflowExecutionMetadata& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *The timestamp when this runtime instance of the workflow finished.
*/ inline WorkflowExecutionMetadata& WithEndTime(const char* value) { SetEndTime(value); return *this;} private: Aws::String m_workflowBuildVersionArn; bool m_workflowBuildVersionArnHasBeenSet = false; Aws::String m_workflowExecutionId; bool m_workflowExecutionIdHasBeenSet = false; WorkflowType m_type; bool m_typeHasBeenSet = false; WorkflowExecutionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; int m_totalStepCount; bool m_totalStepCountHasBeenSet = false; int m_totalStepsSucceeded; bool m_totalStepsSucceededHasBeenSet = false; int m_totalStepsFailed; bool m_totalStepsFailedHasBeenSet = false; int m_totalStepsSkipped; bool m_totalStepsSkippedHasBeenSet = false; Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws