AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
49 template<typename DescriptionT = Aws::String>
50 NodeOutputPort& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 NodeOutputPort& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline PortType GetType() const { return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 inline void SetType(PortType value) { m_typeHasBeenSet = true; m_type = value; }
72 inline NodeOutputPort& WithType(PortType value) { SetType(value); return *this;}
74 private:
75
76 Aws::String m_description;
77 bool m_descriptionHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Panorama
88} // 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