/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Panorama { namespace Model { /** *

A node output port.

See Also:

AWS * API Reference

*/ class NodeOutputPort { public: AWS_PANORAMA_API NodeOutputPort(); AWS_PANORAMA_API NodeOutputPort(Aws::Utils::Json::JsonView jsonValue); AWS_PANORAMA_API NodeOutputPort& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The output port's description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The output port's description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The output port's description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The output port's description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The output port's description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The output port's description.

*/ inline NodeOutputPort& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The output port's description.

*/ inline NodeOutputPort& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The output port's description.

*/ inline NodeOutputPort& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The output port's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The output port's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The output port's name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The output port's name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The output port's name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The output port's name.

*/ inline NodeOutputPort& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The output port's name.

*/ inline NodeOutputPort& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The output port's name.

*/ inline NodeOutputPort& WithName(const char* value) { SetName(value); return *this;} /** *

The output port's type.

*/ inline const PortType& GetType() const{ return m_type; } /** *

The output port's type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The output port's type.

*/ inline void SetType(const PortType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The output port's type.

*/ inline void SetType(PortType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The output port's type.

*/ inline NodeOutputPort& WithType(const PortType& value) { SetType(value); return *this;} /** *

The output port's type.

*/ inline NodeOutputPort& WithType(PortType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; PortType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws