AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NodeInterface.h
Go to the documentation of this file.
1
6#pragma once
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 Panorama
24{
25namespace Model
26{
27
34 {
35 public:
40
41
45 inline const Aws::Vector<NodeInputPort>& GetInputs() const{ return m_inputs; }
46
50 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
51
55 inline void SetInputs(const Aws::Vector<NodeInputPort>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
56
60 inline void SetInputs(Aws::Vector<NodeInputPort>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
61
65 inline NodeInterface& WithInputs(const Aws::Vector<NodeInputPort>& value) { SetInputs(value); return *this;}
66
70 inline NodeInterface& WithInputs(Aws::Vector<NodeInputPort>&& value) { SetInputs(std::move(value)); return *this;}
71
75 inline NodeInterface& AddInputs(const NodeInputPort& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
76
80 inline NodeInterface& AddInputs(NodeInputPort&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
81
82
86 inline const Aws::Vector<NodeOutputPort>& GetOutputs() const{ return m_outputs; }
87
91 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
92
96 inline void SetOutputs(const Aws::Vector<NodeOutputPort>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
97
101 inline void SetOutputs(Aws::Vector<NodeOutputPort>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
102
106 inline NodeInterface& WithOutputs(const Aws::Vector<NodeOutputPort>& value) { SetOutputs(value); return *this;}
107
111 inline NodeInterface& WithOutputs(Aws::Vector<NodeOutputPort>&& value) { SetOutputs(std::move(value)); return *this;}
112
116 inline NodeInterface& AddOutputs(const NodeOutputPort& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
117
121 inline NodeInterface& AddOutputs(NodeOutputPort&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
122
123 private:
124
126 bool m_inputsHasBeenSet = false;
127
129 bool m_outputsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Panorama
134} // namespace Aws
#define AWS_PANORAMA_API
void SetInputs(const Aws::Vector< NodeInputPort > &value)
Definition: NodeInterface.h:55
NodeInterface & WithOutputs(Aws::Vector< NodeOutputPort > &&value)
NodeInterface & WithOutputs(const Aws::Vector< NodeOutputPort > &value)
void SetOutputs(Aws::Vector< NodeOutputPort > &&value)
AWS_PANORAMA_API NodeInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< NodeInputPort > & GetInputs() const
Definition: NodeInterface.h:45
const Aws::Vector< NodeOutputPort > & GetOutputs() const
Definition: NodeInterface.h:86
NodeInterface & AddOutputs(NodeOutputPort &&value)
NodeInterface & WithInputs(Aws::Vector< NodeInputPort > &&value)
Definition: NodeInterface.h:70
NodeInterface & WithInputs(const Aws::Vector< NodeInputPort > &value)
Definition: NodeInterface.h:65
void SetOutputs(const Aws::Vector< NodeOutputPort > &value)
Definition: NodeInterface.h:96
NodeInterface & AddOutputs(const NodeOutputPort &value)
NodeInterface & AddInputs(NodeInputPort &&value)
Definition: NodeInterface.h:80
AWS_PANORAMA_API NodeInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputs(Aws::Vector< NodeInputPort > &&value)
Definition: NodeInterface.h:60
NodeInterface & AddInputs(const NodeInputPort &value)
Definition: NodeInterface.h:75
std::vector< T, Aws::Allocator< T > > Vector