/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace imagebuilder { namespace Model { class GetWorkflowStepExecutionResult { public: AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult(); AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The request ID that uniquely identifies this request.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The request ID that uniquely identifies this request.

*/ inline void SetRequestId(const Aws::String& value) { m_requestId = value; } /** *

The request ID that uniquely identifies this request.

*/ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } /** *

The request ID that uniquely identifies this request.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The request ID that uniquely identifies this request.

*/ inline GetWorkflowStepExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline GetWorkflowStepExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline GetWorkflowStepExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline const Aws::String& GetStepExecutionId() const{ return m_stepExecutionId; } /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionId = value; } /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionId = std::move(value); } /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline void SetStepExecutionId(const char* value) { m_stepExecutionId.assign(value); } /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline GetWorkflowStepExecutionResult& WithStepExecutionId(const Aws::String& value) { SetStepExecutionId(value); return *this;} /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline GetWorkflowStepExecutionResult& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;} /** *

The unique identifier for the runtime version of the workflow step that you * specified in the request.

*/ inline GetWorkflowStepExecutionResult& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline const Aws::String& GetWorkflowBuildVersionArn() const{ return m_workflowBuildVersionArn; } /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline void SetWorkflowBuildVersionArn(const Aws::String& value) { m_workflowBuildVersionArn = value; } /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline void SetWorkflowBuildVersionArn(Aws::String&& value) { m_workflowBuildVersionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline void SetWorkflowBuildVersionArn(const char* value) { m_workflowBuildVersionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowBuildVersionArn(const Aws::String& value) { SetWorkflowBuildVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowBuildVersionArn(Aws::String&& value) { SetWorkflowBuildVersionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the build version for the Image Builder * workflow resource that defines this workflow step.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowBuildVersionArn(const char* value) { SetWorkflowBuildVersionArn(value); return *this;} /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline const Aws::String& GetWorkflowExecutionId() const{ return m_workflowExecutionId; } /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline void SetWorkflowExecutionId(const Aws::String& value) { m_workflowExecutionId = value; } /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline void SetWorkflowExecutionId(Aws::String&& value) { m_workflowExecutionId = std::move(value); } /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline void SetWorkflowExecutionId(const char* value) { m_workflowExecutionId.assign(value); } /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowExecutionId(const Aws::String& value) { SetWorkflowExecutionId(value); return *this;} /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowExecutionId(Aws::String&& value) { SetWorkflowExecutionId(std::move(value)); return *this;} /** *

The unique identifier that Image Builder assigned to keep track of runtime * details when it ran the workflow.

*/ inline GetWorkflowStepExecutionResult& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; } /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArn = value; } /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline GetWorkflowStepExecutionResult& WithImageBuildVersionArn(const Aws::String& value) { SetImageBuildVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline GetWorkflowStepExecutionResult& WithImageBuildVersionArn(Aws::String&& value) { SetImageBuildVersionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the image resource build version that the * specified runtime instance of the workflow step creates.

*/ inline GetWorkflowStepExecutionResult& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;} /** *

The name of the specified runtime instance of the workflow step.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the specified runtime instance of the workflow step.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the specified runtime instance of the workflow step.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the specified runtime instance of the workflow step.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the specified runtime instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the specified runtime instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the specified runtime instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithName(const char* value) { SetName(value); return *this;} /** *

Describes the specified workflow step.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Describes the specified workflow step.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

Describes the specified workflow step.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

Describes the specified workflow step.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

Describes the specified workflow step.

*/ inline GetWorkflowStepExecutionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Describes the specified workflow step.

*/ inline GetWorkflowStepExecutionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Describes the specified workflow step.

*/ inline GetWorkflowStepExecutionResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the action that the specified step performs.

*/ inline const Aws::String& GetAction() const{ return m_action; } /** *

The name of the action that the specified step performs.

*/ inline void SetAction(const Aws::String& value) { m_action = value; } /** *

The name of the action that the specified step performs.

*/ inline void SetAction(Aws::String&& value) { m_action = std::move(value); } /** *

The name of the action that the specified step performs.

*/ inline void SetAction(const char* value) { m_action.assign(value); } /** *

The name of the action that the specified step performs.

*/ inline GetWorkflowStepExecutionResult& WithAction(const Aws::String& value) { SetAction(value); return *this;} /** *

The name of the action that the specified step performs.

*/ inline GetWorkflowStepExecutionResult& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} /** *

The name of the action that the specified step performs.

*/ inline GetWorkflowStepExecutionResult& WithAction(const char* value) { SetAction(value); return *this;} /** *

The current status for the specified runtime version of the workflow * step.

*/ inline const WorkflowStepExecutionStatus& GetStatus() const{ return m_status; } /** *

The current status for the specified runtime version of the workflow * step.

*/ inline void SetStatus(const WorkflowStepExecutionStatus& value) { m_status = value; } /** *

The current status for the specified runtime version of the workflow * step.

*/ inline void SetStatus(WorkflowStepExecutionStatus&& value) { m_status = std::move(value); } /** *

The current status for the specified runtime version of the workflow * step.

*/ inline GetWorkflowStepExecutionResult& WithStatus(const WorkflowStepExecutionStatus& value) { SetStatus(value); return *this;} /** *

The current status for the specified runtime version of the workflow * step.

*/ inline GetWorkflowStepExecutionResult& WithStatus(WorkflowStepExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Reports on the rollback status of the specified runtime version of the * workflow step, if applicable.

*/ inline const WorkflowStepExecutionRollbackStatus& GetRollbackStatus() const{ return m_rollbackStatus; } /** *

Reports on the rollback status of the specified runtime version of the * workflow step, if applicable.

*/ inline void SetRollbackStatus(const WorkflowStepExecutionRollbackStatus& value) { m_rollbackStatus = value; } /** *

Reports on the rollback status of the specified runtime version of the * workflow step, if applicable.

*/ inline void SetRollbackStatus(WorkflowStepExecutionRollbackStatus&& value) { m_rollbackStatus = std::move(value); } /** *

Reports on the rollback status of the specified runtime version of the * workflow step, if applicable.

*/ inline GetWorkflowStepExecutionResult& WithRollbackStatus(const WorkflowStepExecutionRollbackStatus& value) { SetRollbackStatus(value); return *this;} /** *

Reports on the rollback status of the specified runtime version of the * workflow step, if applicable.

*/ inline GetWorkflowStepExecutionResult& WithRollbackStatus(WorkflowStepExecutionRollbackStatus&& value) { SetRollbackStatus(std::move(value)); return *this;} /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline void SetMessage(const Aws::String& value) { m_message = value; } /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline GetWorkflowStepExecutionResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline GetWorkflowStepExecutionResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

The output message from the specified runtime instance of the workflow step, * if applicable.

*/ inline GetWorkflowStepExecutionResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline const Aws::String& GetInputs() const{ return m_inputs; } /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline void SetInputs(const Aws::String& value) { m_inputs = value; } /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline void SetInputs(Aws::String&& value) { m_inputs = std::move(value); } /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline void SetInputs(const char* value) { m_inputs.assign(value); } /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithInputs(const Aws::String& value) { SetInputs(value); return *this;} /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithInputs(Aws::String&& value) { SetInputs(std::move(value)); return *this;} /** *

Input parameters that Image Builder provided for the specified runtime * instance of the workflow step.

*/ inline GetWorkflowStepExecutionResult& WithInputs(const char* value) { SetInputs(value); return *this;} /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline const Aws::String& GetOutputs() const{ return m_outputs; } /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline void SetOutputs(const Aws::String& value) { m_outputs = value; } /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline void SetOutputs(Aws::String&& value) { m_outputs = std::move(value); } /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline void SetOutputs(const char* value) { m_outputs.assign(value); } /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline GetWorkflowStepExecutionResult& WithOutputs(const Aws::String& value) { SetOutputs(value); return *this;} /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline GetWorkflowStepExecutionResult& WithOutputs(Aws::String&& value) { SetOutputs(std::move(value)); return *this;} /** *

The file names that the specified runtime version of the workflow step * created as output.

*/ inline GetWorkflowStepExecutionResult& WithOutputs(const char* value) { SetOutputs(value); return *this;} /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline void SetStartTime(const Aws::String& value) { m_startTime = value; } /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline void SetStartTime(Aws::String&& value) { m_startTime = std::move(value); } /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline void SetStartTime(const char* value) { m_startTime.assign(value); } /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline GetWorkflowStepExecutionResult& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline GetWorkflowStepExecutionResult& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *

The timestamp when the specified runtime version of the workflow step * started.

*/ inline GetWorkflowStepExecutionResult& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline void SetEndTime(const Aws::String& value) { m_endTime = value; } /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline void SetEndTime(Aws::String&& value) { m_endTime = std::move(value); } /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline void SetEndTime(const char* value) { m_endTime.assign(value); } /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline GetWorkflowStepExecutionResult& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline GetWorkflowStepExecutionResult& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *

The timestamp when the specified runtime instance of the workflow step * finished.

*/ inline GetWorkflowStepExecutionResult& WithEndTime(const char* value) { SetEndTime(value); return *this;} /** *

The action to perform if the workflow step fails.

*/ inline const Aws::String& GetOnFailure() const{ return m_onFailure; } /** *

The action to perform if the workflow step fails.

*/ inline void SetOnFailure(const Aws::String& value) { m_onFailure = value; } /** *

The action to perform if the workflow step fails.

*/ inline void SetOnFailure(Aws::String&& value) { m_onFailure = std::move(value); } /** *

The action to perform if the workflow step fails.

*/ inline void SetOnFailure(const char* value) { m_onFailure.assign(value); } /** *

The action to perform if the workflow step fails.

*/ inline GetWorkflowStepExecutionResult& WithOnFailure(const Aws::String& value) { SetOnFailure(value); return *this;} /** *

The action to perform if the workflow step fails.

*/ inline GetWorkflowStepExecutionResult& WithOnFailure(Aws::String&& value) { SetOnFailure(std::move(value)); return *this;} /** *

The action to perform if the workflow step fails.

*/ inline GetWorkflowStepExecutionResult& WithOnFailure(const char* value) { SetOnFailure(value); return *this;} /** *

The maximum duration in seconds for this step to complete its action.

*/ inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; } /** *

The maximum duration in seconds for this step to complete its action.

*/ inline void SetTimeoutSeconds(int value) { m_timeoutSeconds = value; } /** *

The maximum duration in seconds for this step to complete its action.

*/ inline GetWorkflowStepExecutionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;} private: Aws::String m_requestId; Aws::String m_stepExecutionId; Aws::String m_workflowBuildVersionArn; Aws::String m_workflowExecutionId; Aws::String m_imageBuildVersionArn; Aws::String m_name; Aws::String m_description; Aws::String m_action; WorkflowStepExecutionStatus m_status; WorkflowStepExecutionRollbackStatus m_rollbackStatus; Aws::String m_message; Aws::String m_inputs; Aws::String m_outputs; Aws::String m_startTime; Aws::String m_endTime; Aws::String m_onFailure; int m_timeoutSeconds; }; } // namespace Model } // namespace imagebuilder } // namespace Aws