/** * 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 Transfer { namespace Model { class ListWorkflowsResult { public: AWS_TRANSFER_API ListWorkflowsResult(); AWS_TRANSFER_API ListWorkflowsResult(const Aws::AmazonWebServiceResult& result); AWS_TRANSFER_API ListWorkflowsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

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

ListWorkflows returns the NextToken parameter in * the output. You can then pass the NextToken parameter in a * subsequent command to continue listing additional workflows.

*/ inline ListWorkflowsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Returns the Arn, WorkflowId, and * Description for each workflow.

*/ inline const Aws::Vector& GetWorkflows() const{ return m_workflows; } /** *

Returns the Arn, WorkflowId, and * Description for each workflow.

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

Returns the Arn, WorkflowId, and * Description for each workflow.

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

Returns the Arn, WorkflowId, and * Description for each workflow.

*/ inline ListWorkflowsResult& WithWorkflows(const Aws::Vector& value) { SetWorkflows(value); return *this;} /** *

Returns the Arn, WorkflowId, and * Description for each workflow.

*/ inline ListWorkflowsResult& WithWorkflows(Aws::Vector&& value) { SetWorkflows(std::move(value)); return *this;} /** *

Returns the Arn, WorkflowId, and * Description for each workflow.

*/ inline ListWorkflowsResult& AddWorkflows(const ListedWorkflow& value) { m_workflows.push_back(value); return *this; } /** *

Returns the Arn, WorkflowId, and * Description for each workflow.

*/ inline ListWorkflowsResult& AddWorkflows(ListedWorkflow&& value) { m_workflows.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListWorkflowsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListWorkflowsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListWorkflowsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_workflows; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws