AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeOutputPort.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 NodeOutputPort();
36 AWS_PANORAMA_API NodeOutputPort(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDescription() const{ return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
48 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
49 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
50 inline NodeOutputPort& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
51 inline NodeOutputPort& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
52 inline NodeOutputPort& WithDescription(const char* value) { SetDescription(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline NodeOutputPort& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline NodeOutputPort& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline NodeOutputPort& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const PortType& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const PortType& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(PortType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline NodeOutputPort& WithType(const PortType& value) { SetType(value); return *this;}
78 inline NodeOutputPort& WithType(PortType&& value) { SetType(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 PortType m_type;
89 bool m_typeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Panorama
94} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue