AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NodeInputPort.h
Go to the documentation of this file.
1
6#pragma once
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:
39
40
44 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
45
49 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
50
54 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
55
59 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
60
64 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
65
69 inline NodeInputPort& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
70
74 inline NodeInputPort& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
75
79 inline NodeInputPort& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
80
81
85 inline const Aws::String& GetDescription() const{ return m_description; }
86
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91
95 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
96
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106
110 inline NodeInputPort& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111
115 inline NodeInputPort& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
116
120 inline NodeInputPort& WithDescription(const char* value) { SetDescription(value); return *this;}
121
122
126 inline int GetMaxConnections() const{ return m_maxConnections; }
127
131 inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
132
136 inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; }
137
141 inline NodeInputPort& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
142
143
147 inline const Aws::String& GetName() const{ return m_name; }
148
152 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
153
157 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
158
162 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
163
167 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
168
172 inline NodeInputPort& WithName(const Aws::String& value) { SetName(value); return *this;}
173
177 inline NodeInputPort& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
178
182 inline NodeInputPort& WithName(const char* value) { SetName(value); return *this;}
183
184
188 inline const PortType& GetType() const{ return m_type; }
189
193 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
194
198 inline void SetType(const PortType& value) { m_typeHasBeenSet = true; m_type = value; }
199
203 inline void SetType(PortType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
204
208 inline NodeInputPort& WithType(const PortType& value) { SetType(value); return *this;}
209
213 inline NodeInputPort& WithType(PortType&& value) { SetType(std::move(value)); return *this;}
214
215 private:
216
217 Aws::String m_defaultValue;
218 bool m_defaultValueHasBeenSet = false;
219
220 Aws::String m_description;
221 bool m_descriptionHasBeenSet = false;
222
223 int m_maxConnections;
224 bool m_maxConnectionsHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 PortType m_type;
230 bool m_typeHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace Panorama
235} // namespace Aws
#define AWS_PANORAMA_API
void SetName(const Aws::String &value)
AWS_PANORAMA_API NodeInputPort & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeInputPort & WithName(Aws::String &&value)
NodeInputPort & WithDescription(const Aws::String &value)
NodeInputPort & WithName(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
Definition: NodeInputPort.h:85
NodeInputPort & WithDefaultValue(const char *value)
Definition: NodeInputPort.h:79
NodeInputPort & WithType(const PortType &value)
void SetType(const PortType &value)
void SetDefaultValue(Aws::String &&value)
Definition: NodeInputPort.h:59
NodeInputPort & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
void SetDescription(const Aws::String &value)
Definition: NodeInputPort.h:95
NodeInputPort & WithType(PortType &&value)
NodeInputPort & WithDefaultValue(const Aws::String &value)
Definition: NodeInputPort.h:69
const Aws::String & GetDefaultValue() const
Definition: NodeInputPort.h:44
NodeInputPort & WithMaxConnections(int value)
const Aws::String & GetName() const
void SetDefaultValue(const Aws::String &value)
Definition: NodeInputPort.h:54
const PortType & GetType() const
void SetDefaultValue(const char *value)
Definition: NodeInputPort.h:64
void SetName(const char *value)
NodeInputPort & WithDescription(const char *value)
NodeInputPort & WithDefaultValue(Aws::String &&value)
Definition: NodeInputPort.h:74
void SetType(PortType &&value)
void SetDescription(const char *value)
AWS_PANORAMA_API NodeInputPort(Aws::Utils::Json::JsonView jsonValue)
NodeInputPort & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String