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

Information about the hierarchy group.

See Also:

AWS * API Reference

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

The unique identifier for the hierarchy group.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the hierarchy group.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the hierarchy group.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the hierarchy group.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the hierarchy group.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the hierarchy group.

*/ inline HierarchyGroupSummaryReference& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws