/** * 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 Glue { namespace Model { /** */ class BatchGetWorkflowsRequest : public GlueRequest { public: AWS_GLUE_API BatchGetWorkflowsRequest(); // 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 "BatchGetWorkflows"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline const Aws::Vector& GetNames() const{ return m_names; } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline void SetNames(const Aws::Vector& value) { m_namesHasBeenSet = true; m_names = value; } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline void SetNames(Aws::Vector&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline BatchGetWorkflowsRequest& WithNames(const Aws::Vector& value) { SetNames(value); return *this;} /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline BatchGetWorkflowsRequest& WithNames(Aws::Vector&& value) { SetNames(std::move(value)); return *this;} /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline BatchGetWorkflowsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline BatchGetWorkflowsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** *

A list of workflow names, which may be the names returned from the * ListWorkflows operation.

*/ inline BatchGetWorkflowsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

Specifies whether to include a graph when returning the workflow resource * metadata.

*/ inline bool GetIncludeGraph() const{ return m_includeGraph; } /** *

Specifies whether to include a graph when returning the workflow resource * metadata.

*/ inline bool IncludeGraphHasBeenSet() const { return m_includeGraphHasBeenSet; } /** *

Specifies whether to include a graph when returning the workflow resource * metadata.

*/ inline void SetIncludeGraph(bool value) { m_includeGraphHasBeenSet = true; m_includeGraph = value; } /** *

Specifies whether to include a graph when returning the workflow resource * metadata.

*/ inline BatchGetWorkflowsRequest& WithIncludeGraph(bool value) { SetIncludeGraph(value); return *this;} private: Aws::Vector m_names; bool m_namesHasBeenSet = false; bool m_includeGraph; bool m_includeGraphHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws