AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeInterface.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/panorama/model/NodeInputPort.h>
10#include <aws/panorama/model/NodeOutputPort.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 Panorama
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PANORAMA_API NodeInterface();
37 AWS_PANORAMA_API NodeInterface(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<NodeInputPort>& GetInputs() const{ return m_inputs; }
47 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
48 inline void SetInputs(const Aws::Vector<NodeInputPort>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
49 inline void SetInputs(Aws::Vector<NodeInputPort>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
50 inline NodeInterface& WithInputs(const Aws::Vector<NodeInputPort>& value) { SetInputs(value); return *this;}
51 inline NodeInterface& WithInputs(Aws::Vector<NodeInputPort>&& value) { SetInputs(std::move(value)); return *this;}
52 inline NodeInterface& AddInputs(const NodeInputPort& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
53 inline NodeInterface& AddInputs(NodeInputPort&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<NodeOutputPort>& GetOutputs() const{ return m_outputs; }
61 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
62 inline void SetOutputs(const Aws::Vector<NodeOutputPort>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
63 inline void SetOutputs(Aws::Vector<NodeOutputPort>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
64 inline NodeInterface& WithOutputs(const Aws::Vector<NodeOutputPort>& value) { SetOutputs(value); return *this;}
65 inline NodeInterface& WithOutputs(Aws::Vector<NodeOutputPort>&& value) { SetOutputs(std::move(value)); return *this;}
66 inline NodeInterface& AddOutputs(const NodeOutputPort& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
67 inline NodeInterface& AddOutputs(NodeOutputPort&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
69 private:
70
72 bool m_inputsHasBeenSet = false;
73
75 bool m_outputsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Panorama
80} // namespace Aws
void SetInputs(const Aws::Vector< NodeInputPort > &value)
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
const Aws::Vector< NodeOutputPort > & GetOutputs() const
NodeInterface & AddOutputs(NodeOutputPort &&value)
NodeInterface & WithInputs(Aws::Vector< NodeInputPort > &&value)
NodeInterface & WithInputs(const Aws::Vector< NodeInputPort > &value)
void SetOutputs(const Aws::Vector< NodeOutputPort > &value)
NodeInterface & AddOutputs(const NodeOutputPort &value)
NodeInterface & AddInputs(NodeInputPort &&value)
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)
NodeInterface & AddInputs(const NodeInputPort &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue