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

A list of the nodes in the resulting DAG.

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

A list of the nodes in the resulting DAG.

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

A list of the nodes in the resulting DAG.

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

A list of the nodes in the resulting DAG.

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

A list of the nodes in the resulting DAG.

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

A list of the nodes in the resulting DAG.

*/ inline GetDataflowGraphResult& AddDagNodes(const CodeGenNode& value) { m_dagNodes.push_back(value); return *this; } /** *

A list of the nodes in the resulting DAG.

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

A list of the edges in the resulting DAG.

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

A list of the edges in the resulting DAG.

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

A list of the edges in the resulting DAG.

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

A list of the edges in the resulting DAG.

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

A list of the edges in the resulting DAG.

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

A list of the edges in the resulting DAG.

*/ inline GetDataflowGraphResult& AddDagEdges(const CodeGenEdge& value) { m_dagEdges.push_back(value); return *this; } /** *

A list of the edges in the resulting DAG.

*/ inline GetDataflowGraphResult& AddDagEdges(CodeGenEdge&& value) { m_dagEdges.push_back(std::move(value)); return *this; } private: Aws::Vector m_dagNodes; Aws::Vector m_dagEdges; }; } // namespace Model } // namespace Glue } // namespace Aws