AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename InputsT = Aws::Vector<NodeInputPort>>
49 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
50 template<typename InputsT = Aws::Vector<NodeInputPort>>
51 NodeInterface& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
52 template<typename InputsT = NodeInputPort>
53 NodeInterface& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(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 template<typename OutputsT = Aws::Vector<NodeOutputPort>>
63 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
64 template<typename OutputsT = Aws::Vector<NodeOutputPort>>
65 NodeInterface& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
66 template<typename OutputsT = NodeOutputPort>
67 NodeInterface& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(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
NodeInterface & AddOutputs(OutputsT &&value)
AWS_PANORAMA_API NodeInterface(Aws::Utils::Json::JsonView jsonValue)
void SetOutputs(OutputsT &&value)
const Aws::Vector< NodeInputPort > & GetInputs() const
const Aws::Vector< NodeOutputPort > & GetOutputs() const
NodeInterface & WithOutputs(OutputsT &&value)
NodeInterface & AddInputs(InputsT &&value)
NodeInterface & WithInputs(InputsT &&value)
AWS_PANORAMA_API NodeInterface()=default
AWS_PANORAMA_API NodeInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue