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

A group of signals that are defined in a hierarchical * structure.

See Also:

AWS * API Reference

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

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline const Aws::String& GetFullyQualifiedName() const{ return m_fullyQualifiedName; } /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; } /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline void SetFullyQualifiedName(const Aws::String& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = value; } /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline void SetFullyQualifiedName(Aws::String&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::move(value); } /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline void SetFullyQualifiedName(const char* value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName.assign(value); } /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline Branch& WithFullyQualifiedName(const Aws::String& value) { SetFullyQualifiedName(value); return *this;} /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline Branch& WithFullyQualifiedName(Aws::String&& value) { SetFullyQualifiedName(std::move(value)); return *this;} /** *

The fully qualified name of the branch. For example, the fully qualified name * of a branch might be Vehicle.Body.Engine.

*/ inline Branch& WithFullyQualifiedName(const char* value) { SetFullyQualifiedName(value); return *this;} /** *

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

A brief description of the branch.

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

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline const Aws::String& GetDeprecationMessage() const{ return m_deprecationMessage; } /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; } /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline void SetDeprecationMessage(const Aws::String& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = value; } /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline void SetDeprecationMessage(Aws::String&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::move(value); } /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline void SetDeprecationMessage(const char* value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage.assign(value); } /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline Branch& WithDeprecationMessage(const Aws::String& value) { SetDeprecationMessage(value); return *this;} /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline Branch& WithDeprecationMessage(Aws::String&& value) { SetDeprecationMessage(std::move(value)); return *this;} /** *

The deprecation message for the node or the branch that was moved or * deleted.

*/ inline Branch& WithDeprecationMessage(const char* value) { SetDeprecationMessage(value); return *this;} /** *

A comment in addition to the description.

*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *

A comment in addition to the description.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

A comment in addition to the description.

*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

A comment in addition to the description.

*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

A comment in addition to the description.

*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *

A comment in addition to the description.

*/ inline Branch& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *

A comment in addition to the description.

*/ inline Branch& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *

A comment in addition to the description.

*/ inline Branch& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_fullyQualifiedName; bool m_fullyQualifiedNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_deprecationMessage; bool m_deprecationMessageHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws