AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NodeOutputPort.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& GetDescription() const{ return m_description; }
45
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50
54 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
55
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65
69 inline NodeOutputPort& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70
74 inline NodeOutputPort& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75
79 inline NodeOutputPort& WithDescription(const char* value) { SetDescription(value); return *this;}
80
81
85 inline const Aws::String& GetName() const{ return m_name; }
86
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91
95 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96
100 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106
110 inline NodeOutputPort& WithName(const Aws::String& value) { SetName(value); return *this;}
111
115 inline NodeOutputPort& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116
120 inline NodeOutputPort& WithName(const char* value) { SetName(value); return *this;}
121
122
126 inline const PortType& GetType() const{ return m_type; }
127
131 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
132
136 inline void SetType(const PortType& value) { m_typeHasBeenSet = true; m_type = value; }
137
141 inline void SetType(PortType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
142
146 inline NodeOutputPort& WithType(const PortType& value) { SetType(value); return *this;}
147
151 inline NodeOutputPort& WithType(PortType&& value) { SetType(std::move(value)); return *this;}
152
153 private:
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_name;
159 bool m_nameHasBeenSet = false;
160
161 PortType m_type;
162 bool m_typeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Panorama
167} // namespace Aws
#define AWS_PANORAMA_API
const PortType & GetType() const
void SetDescription(const char *value)
AWS_PANORAMA_API NodeOutputPort & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
NodeOutputPort & WithDescription(const Aws::String &value)
const Aws::String & GetName() const
AWS_PANORAMA_API NodeOutputPort(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
NodeOutputPort & WithDescription(const char *value)
NodeOutputPort & WithName(const Aws::String &value)
NodeOutputPort & WithDescription(Aws::String &&value)
NodeOutputPort & WithType(const PortType &value)
void SetType(const PortType &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
NodeOutputPort & WithType(PortType &&value)
void SetDescription(const Aws::String &value)
NodeOutputPort & WithName(Aws::String &&value)
NodeOutputPort & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String