/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class CreateScriptRequest : public GlueRequest { public: AWS_GLUE_API CreateScriptRequest(); // 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 "CreateScript"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of the nodes in the DAG.

*/ inline const Aws::Vector& GetDagNodes() const{ return m_dagNodes; } /** *

A list of the nodes in the DAG.

*/ inline bool DagNodesHasBeenSet() const { return m_dagNodesHasBeenSet; } /** *

A list of the nodes in the DAG.

*/ inline void SetDagNodes(const Aws::Vector& value) { m_dagNodesHasBeenSet = true; m_dagNodes = value; } /** *

A list of the nodes in the DAG.

*/ inline void SetDagNodes(Aws::Vector&& value) { m_dagNodesHasBeenSet = true; m_dagNodes = std::move(value); } /** *

A list of the nodes in the DAG.

*/ inline CreateScriptRequest& WithDagNodes(const Aws::Vector& value) { SetDagNodes(value); return *this;} /** *

A list of the nodes in the DAG.

*/ inline CreateScriptRequest& WithDagNodes(Aws::Vector&& value) { SetDagNodes(std::move(value)); return *this;} /** *

A list of the nodes in the DAG.

*/ inline CreateScriptRequest& AddDagNodes(const CodeGenNode& value) { m_dagNodesHasBeenSet = true; m_dagNodes.push_back(value); return *this; } /** *

A list of the nodes in the DAG.

*/ inline CreateScriptRequest& AddDagNodes(CodeGenNode&& value) { m_dagNodesHasBeenSet = true; m_dagNodes.push_back(std::move(value)); return *this; } /** *

A list of the edges in the DAG.

*/ inline const Aws::Vector& GetDagEdges() const{ return m_dagEdges; } /** *

A list of the edges in the DAG.

*/ inline bool DagEdgesHasBeenSet() const { return m_dagEdgesHasBeenSet; } /** *

A list of the edges in the DAG.

*/ inline void SetDagEdges(const Aws::Vector& value) { m_dagEdgesHasBeenSet = true; m_dagEdges = value; } /** *

A list of the edges in the DAG.

*/ inline void SetDagEdges(Aws::Vector&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges = std::move(value); } /** *

A list of the edges in the DAG.

*/ inline CreateScriptRequest& WithDagEdges(const Aws::Vector& value) { SetDagEdges(value); return *this;} /** *

A list of the edges in the DAG.

*/ inline CreateScriptRequest& WithDagEdges(Aws::Vector&& value) { SetDagEdges(std::move(value)); return *this;} /** *

A list of the edges in the DAG.

*/ inline CreateScriptRequest& AddDagEdges(const CodeGenEdge& value) { m_dagEdgesHasBeenSet = true; m_dagEdges.push_back(value); return *this; } /** *

A list of the edges in the DAG.

*/ inline CreateScriptRequest& AddDagEdges(CodeGenEdge&& value) { m_dagEdgesHasBeenSet = true; m_dagEdges.push_back(std::move(value)); return *this; } /** *

The programming language of the resulting code from the DAG.

*/ inline const Language& GetLanguage() const{ return m_language; } /** *

The programming language of the resulting code from the DAG.

*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *

The programming language of the resulting code from the DAG.

*/ inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; } /** *

The programming language of the resulting code from the DAG.

*/ inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *

The programming language of the resulting code from the DAG.

*/ inline CreateScriptRequest& WithLanguage(const Language& value) { SetLanguage(value); return *this;} /** *

The programming language of the resulting code from the DAG.

*/ inline CreateScriptRequest& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;} private: Aws::Vector m_dagNodes; bool m_dagNodesHasBeenSet = false; Aws::Vector m_dagEdges; bool m_dagEdgesHasBeenSet = false; Language m_language; bool m_languageHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws