/** * 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 { namespace Http { class URI; } //namespace Http namespace Omics { namespace Model { /** */ class ListWorkflowsRequest : public OmicsRequest { public: AWS_OMICS_API ListWorkflowsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListWorkflows"; } AWS_OMICS_API Aws::String SerializePayload() const override; AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The workflows' type.

*/ inline const WorkflowType& GetType() const{ return m_type; } /** *

The workflows' type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The workflows' type.

*/ inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The workflows' type.

*/ inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The workflows' type.

*/ inline ListWorkflowsRequest& WithType(const WorkflowType& value) { SetType(value); return *this;} /** *

The workflows' type.

*/ inline ListWorkflowsRequest& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;} /** *

The workflows' name.

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

The workflows' name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The workflows' name.

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

The workflows' name.

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

The workflows' name.

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

The workflows' name.

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

The workflows' name.

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

The workflows' name.

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

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline const Aws::String& GetStartingToken() const{ return m_startingToken; } /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; } /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline void SetStartingToken(const Aws::String& value) { m_startingTokenHasBeenSet = true; m_startingToken = value; } /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline void SetStartingToken(Aws::String&& value) { m_startingTokenHasBeenSet = true; m_startingToken = std::move(value); } /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline void SetStartingToken(const char* value) { m_startingTokenHasBeenSet = true; m_startingToken.assign(value); } /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline ListWorkflowsRequest& WithStartingToken(const Aws::String& value) { SetStartingToken(value); return *this;} /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline ListWorkflowsRequest& WithStartingToken(Aws::String&& value) { SetStartingToken(std::move(value)); return *this;} /** *

Specify the pagination token from a previous request to retrieve the next * page of results.

*/ inline ListWorkflowsRequest& WithStartingToken(const char* value) { SetStartingToken(value); return *this;} /** *

The maximum number of workflows to return in one page of results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of workflows to return in one page of results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of workflows to return in one page of results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of workflows to return in one page of results.

*/ inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: WorkflowType m_type; bool m_typeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_startingToken; bool m_startingTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws