/** * 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 ServiceCatalog { namespace Model { /** *

Information about the organization node.

See Also:

AWS * API Reference

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

The organization node type.

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

The organization node type.

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

The organization node type.

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

The organization node type.

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

The organization node type.

*/ inline OrganizationNode& WithType(const OrganizationNodeType& value) { SetType(value); return *this;} /** *

The organization node type.

*/ inline OrganizationNode& WithType(OrganizationNodeType&& value) { SetType(std::move(value)); return *this;} /** *

The identifier of the organization node.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The identifier of the organization node.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The identifier of the organization node.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The identifier of the organization node.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The identifier of the organization node.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The identifier of the organization node.

*/ inline OrganizationNode& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The identifier of the organization node.

*/ inline OrganizationNode& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The identifier of the organization node.

*/ inline OrganizationNode& WithValue(const char* value) { SetValue(value); return *this;} private: OrganizationNodeType m_type; bool m_typeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws