AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowGraph.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/Node.h>
10#include <aws/glue/model/Edge.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_GLUE_API WorkflowGraph();
42
43
45
49 inline const Aws::Vector<Node>& GetNodes() const{ return m_nodes; }
50 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
51 inline void SetNodes(const Aws::Vector<Node>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
52 inline void SetNodes(Aws::Vector<Node>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
53 inline WorkflowGraph& WithNodes(const Aws::Vector<Node>& value) { SetNodes(value); return *this;}
54 inline WorkflowGraph& WithNodes(Aws::Vector<Node>&& value) { SetNodes(std::move(value)); return *this;}
55 inline WorkflowGraph& AddNodes(const Node& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
56 inline WorkflowGraph& AddNodes(Node&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<Edge>& GetEdges() const{ return m_edges; }
65 inline bool EdgesHasBeenSet() const { return m_edgesHasBeenSet; }
66 inline void SetEdges(const Aws::Vector<Edge>& value) { m_edgesHasBeenSet = true; m_edges = value; }
67 inline void SetEdges(Aws::Vector<Edge>&& value) { m_edgesHasBeenSet = true; m_edges = std::move(value); }
68 inline WorkflowGraph& WithEdges(const Aws::Vector<Edge>& value) { SetEdges(value); return *this;}
69 inline WorkflowGraph& WithEdges(Aws::Vector<Edge>&& value) { SetEdges(std::move(value)); return *this;}
70 inline WorkflowGraph& AddEdges(const Edge& value) { m_edgesHasBeenSet = true; m_edges.push_back(value); return *this; }
71 inline WorkflowGraph& AddEdges(Edge&& value) { m_edgesHasBeenSet = true; m_edges.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::Vector<Node> m_nodes;
76 bool m_nodesHasBeenSet = false;
77
78 Aws::Vector<Edge> m_edges;
79 bool m_edgesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Glue
84} // namespace Aws
void SetNodes(Aws::Vector< Node > &&value)
WorkflowGraph & AddNodes(const Node &value)
WorkflowGraph & WithEdges(Aws::Vector< Edge > &&value)
void SetEdges(const Aws::Vector< Edge > &value)
WorkflowGraph & WithNodes(const Aws::Vector< Node > &value)
const Aws::Vector< Node > & GetNodes() const
WorkflowGraph & AddEdges(const Edge &value)
WorkflowGraph & WithEdges(const Aws::Vector< Edge > &value)
AWS_GLUE_API WorkflowGraph & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowGraph & AddEdges(Edge &&value)
WorkflowGraph & AddNodes(Node &&value)
void SetNodes(const Aws::Vector< Node > &value)
const Aws::Vector< Edge > & GetEdges() const
WorkflowGraph & WithNodes(Aws::Vector< Node > &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEdges(Aws::Vector< Edge > &&value)
AWS_GLUE_API WorkflowGraph(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue