AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
NodeOutputPort.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/Panorama_EXPORTS.h>
9#include <aws/panorama/model/PortType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Panorama {
21namespace Model {
22
29 public:
30 AWS_PANORAMA_API NodeOutputPort() = default;
31 AWS_PANORAMA_API NodeOutputPort(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDescription() const { return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 template <typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) {
43 m_descriptionHasBeenSet = true;
44 m_description = std::forward<DescriptionT>(value);
45 }
46 template <typename DescriptionT = Aws::String>
47 NodeOutputPort& WithDescription(DescriptionT&& value) {
48 SetDescription(std::forward<DescriptionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 NodeOutputPort& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline PortType GetType() const { return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(PortType value) {
78 m_typeHasBeenSet = true;
79 m_type = value;
80 }
82 SetType(value);
83 return *this;
84 }
86 private:
87 Aws::String m_description;
88
89 Aws::String m_name;
90
92 bool m_descriptionHasBeenSet = false;
93 bool m_nameHasBeenSet = false;
94 bool m_typeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Panorama
99} // namespace Aws
AWS_PANORAMA_API NodeOutputPort & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
NodeOutputPort & WithType(PortType value)
const Aws::String & GetName() const
AWS_PANORAMA_API NodeOutputPort(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API NodeOutputPort()=default
NodeOutputPort & WithDescription(DescriptionT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
NodeOutputPort & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue