AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NodeInputPort.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/model/PortType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API NodeInputPort() = default;
36 AWS_PANORAMA_API NodeInputPort(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
46 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
47 template<typename DefaultValueT = Aws::String>
48 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
49 template<typename DefaultValueT = Aws::String>
50 NodeInputPort& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 NodeInputPort& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline int GetMaxConnections() const { return m_maxConnections; }
70 inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
71 inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; }
72 inline NodeInputPort& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 NodeInputPort& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
91 inline PortType GetType() const { return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 inline void SetType(PortType value) { m_typeHasBeenSet = true; m_type = value; }
94 inline NodeInputPort& WithType(PortType value) { SetType(value); return *this;}
96 private:
97
98 Aws::String m_defaultValue;
99 bool m_defaultValueHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 int m_maxConnections{0};
105 bool m_maxConnectionsHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
111 bool m_typeHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Panorama
116} // namespace Aws
AWS_PANORAMA_API NodeInputPort & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeInputPort & WithDescription(DescriptionT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
NodeInputPort & WithName(NameT &&value)
NodeInputPort & WithDefaultValue(DefaultValueT &&value)
NodeInputPort & WithType(PortType value)
const Aws::String & GetDefaultValue() const
NodeInputPort & WithMaxConnections(int value)
const Aws::String & GetName() const
void SetDefaultValue(DefaultValueT &&value)
AWS_PANORAMA_API NodeInputPort()=default
void SetDescription(DescriptionT &&value)
AWS_PANORAMA_API NodeInputPort(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue