AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
48 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
49 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
50 inline NodeInputPort& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
51 inline NodeInputPort& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
52 inline NodeInputPort& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline NodeInputPort& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline NodeInputPort& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline NodeInputPort& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline int GetMaxConnections() const{ return m_maxConnections; }
74 inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
75 inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; }
76 inline NodeInputPort& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
78
80
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
86 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
87 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
88 inline NodeInputPort& WithName(const Aws::String& value) { SetName(value); return *this;}
89 inline NodeInputPort& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 inline NodeInputPort& WithName(const char* value) { SetName(value); return *this;}
92
94
97 inline const PortType& GetType() const{ return m_type; }
98 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 inline void SetType(const PortType& value) { m_typeHasBeenSet = true; m_type = value; }
100 inline void SetType(PortType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
101 inline NodeInputPort& WithType(const PortType& value) { SetType(value); return *this;}
102 inline NodeInputPort& WithType(PortType&& value) { SetType(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_defaultValue;
107 bool m_defaultValueHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 int m_maxConnections;
113 bool m_maxConnectionsHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 PortType m_type;
119 bool m_typeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Panorama
124} // namespace Aws
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
NodeInputPort & WithDefaultValue(const char *value)
NodeInputPort & WithType(const PortType &value)
void SetType(const PortType &value)
void SetDefaultValue(Aws::String &&value)
NodeInputPort & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
void SetDescription(const Aws::String &value)
NodeInputPort & WithType(PortType &&value)
NodeInputPort & WithDefaultValue(const Aws::String &value)
const Aws::String & GetDefaultValue() const
NodeInputPort & WithMaxConnections(int value)
const Aws::String & GetName() const
void SetDefaultValue(const Aws::String &value)
const PortType & GetType() const
void SetDefaultValue(const char *value)
void SetName(const char *value)
NodeInputPort & WithDescription(const char *value)
NodeInputPort & WithDefaultValue(Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue