/** * 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 ListWorkflowStepExecutionsResult { public: AWS_IMAGEBUILDER_API ListWorkflowStepExecutionsResult(); AWS_IMAGEBUILDER_API ListWorkflowStepExecutionsResult(const Aws::AmazonWebServiceResult& result); AWS_IMAGEBUILDER_API ListWorkflowStepExecutionsResult& 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 ListWorkflowStepExecutionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline const Aws::Vector& GetSteps() const{ return m_steps; } /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline void SetSteps(const Aws::Vector& value) { m_steps = value; } /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline void SetSteps(Aws::Vector&& value) { m_steps = std::move(value); } /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline ListWorkflowStepExecutionsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline ListWorkflowStepExecutionsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline ListWorkflowStepExecutionsResult& AddSteps(const WorkflowStepMetadata& value) { m_steps.push_back(value); return *this; } /** *

Contains an array of runtime details that represents each step in this * runtime instance of the workflow.

*/ inline ListWorkflowStepExecutionsResult& AddSteps(WorkflowStepMetadata&& value) { m_steps.push_back(std::move(value)); return *this; } /** *

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

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

The build version ARN for the Image Builder workflow resource that defines * the steps for this runtime instance of the workflow.

*/ inline ListWorkflowStepExecutionsResult& 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 ListWorkflowStepExecutionsResult& 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 ListWorkflowStepExecutionsResult& 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 ListWorkflowStepExecutionsResult& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;} /** *

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The image build version resource ARN that's associated with the specified * runtime instance of the workflow.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

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

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline ListWorkflowStepExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline ListWorkflowStepExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The next token used for paginated responses. When this field isn't empty, * there are additional elements that the service has'ot included in this request. * Use this token with the next request to retrieve additional objects.

*/ inline ListWorkflowStepExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_requestId; Aws::Vector m_steps; Aws::String m_workflowBuildVersionArn; Aws::String m_workflowExecutionId; Aws::String m_imageBuildVersionArn; Aws::String m_message; Aws::String m_nextToken; }; } // namespace Model } // namespace imagebuilder } // namespace Aws