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

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

*/ inline const Aws::Vector& GetWorkflowExecutions() const{ return m_workflowExecutions; } /** *

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

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

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

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

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

*/ inline ListWorkflowExecutionsResult& WithWorkflowExecutions(const Aws::Vector& value) { SetWorkflowExecutions(value); return *this;} /** *

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

*/ inline ListWorkflowExecutionsResult& WithWorkflowExecutions(Aws::Vector&& value) { SetWorkflowExecutions(std::move(value)); return *this;} /** *

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

*/ inline ListWorkflowExecutionsResult& AddWorkflowExecutions(const WorkflowExecutionMetadata& value) { m_workflowExecutions.push_back(value); return *this; } /** *

Contains an array of runtime details that represents each time a workflow ran * for the requested image build version.

*/ inline ListWorkflowExecutionsResult& AddWorkflowExecutions(WorkflowExecutionMetadata&& value) { m_workflowExecutions.push_back(std::move(value)); return *this; } /** *

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

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

The resource ARN of the image build version for which you requested a list of * workflow runtime details.

*/ inline ListWorkflowExecutionsResult& 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 ListWorkflowExecutionsResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The output message from the list action, if applicable.

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

The output message from the list action, if applicable.

*/ inline ListWorkflowExecutionsResult& 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 ListWorkflowExecutionsResult& 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 ListWorkflowExecutionsResult& 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 ListWorkflowExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_requestId; Aws::Vector m_workflowExecutions; Aws::String m_imageBuildVersionArn; Aws::String m_message; Aws::String m_nextToken; }; } // namespace Model } // namespace imagebuilder } // namespace Aws