/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a node in a directed acyclic graph (DAG)See Also:
* AWS
* API Reference
A node identifier that is unique within the node's graph.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *A node identifier that is unique within the node's graph.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *A node identifier that is unique within the node's graph.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *A node identifier that is unique within the node's graph.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *A node identifier that is unique within the node's graph.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *A node identifier that is unique within the node's graph.
*/ inline CodeGenNode& WithId(const Aws::String& value) { SetId(value); return *this;} /** *A node identifier that is unique within the node's graph.
*/ inline CodeGenNode& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *A node identifier that is unique within the node's graph.
*/ inline CodeGenNode& WithId(const char* value) { SetId(value); return *this;} /** *The type of node that this is.
*/ inline const Aws::String& GetNodeType() const{ return m_nodeType; } /** *The type of node that this is.
*/ inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; } /** *The type of node that this is.
*/ inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; } /** *The type of node that this is.
*/ inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); } /** *The type of node that this is.
*/ inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); } /** *The type of node that this is.
*/ inline CodeGenNode& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;} /** *The type of node that this is.
*/ inline CodeGenNode& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;} /** *The type of node that this is.
*/ inline CodeGenNode& WithNodeType(const char* value) { SetNodeType(value); return *this;} /** *Properties of the node, in the form of name-value pairs.
*/ inline const Aws::VectorProperties of the node, in the form of name-value pairs.
*/ inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; } /** *Properties of the node, in the form of name-value pairs.
*/ inline void SetArgs(const Aws::VectorProperties of the node, in the form of name-value pairs.
*/ inline void SetArgs(Aws::VectorProperties of the node, in the form of name-value pairs.
*/ inline CodeGenNode& WithArgs(const Aws::VectorProperties of the node, in the form of name-value pairs.
*/ inline CodeGenNode& WithArgs(Aws::VectorProperties of the node, in the form of name-value pairs.
*/ inline CodeGenNode& AddArgs(const CodeGenNodeArg& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } /** *Properties of the node, in the form of name-value pairs.
*/ inline CodeGenNode& AddArgs(CodeGenNodeArg&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; } /** *The line number of the node.
*/ inline int GetLineNumber() const{ return m_lineNumber; } /** *The line number of the node.
*/ inline bool LineNumberHasBeenSet() const { return m_lineNumberHasBeenSet; } /** *The line number of the node.
*/ inline void SetLineNumber(int value) { m_lineNumberHasBeenSet = true; m_lineNumber = value; } /** *The line number of the node.
*/ inline CodeGenNode& WithLineNumber(int value) { SetLineNumber(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_nodeType; bool m_nodeTypeHasBeenSet = false; Aws::Vector