/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class AWS_CONNECT_API DescribeUserHierarchyGroupResult { public: DescribeUserHierarchyGroupResult(); DescribeUserHierarchyGroupResult(const Aws::AmazonWebServiceResult& result); DescribeUserHierarchyGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the hierarchy group.

*/ inline const HierarchyGroup& GetHierarchyGroup() const{ return m_hierarchyGroup; } /** *

Information about the hierarchy group.

*/ inline void SetHierarchyGroup(const HierarchyGroup& value) { m_hierarchyGroup = value; } /** *

Information about the hierarchy group.

*/ inline void SetHierarchyGroup(HierarchyGroup&& value) { m_hierarchyGroup = std::move(value); } /** *

Information about the hierarchy group.

*/ inline DescribeUserHierarchyGroupResult& WithHierarchyGroup(const HierarchyGroup& value) { SetHierarchyGroup(value); return *this;} /** *

Information about the hierarchy group.

*/ inline DescribeUserHierarchyGroupResult& WithHierarchyGroup(HierarchyGroup&& value) { SetHierarchyGroup(std::move(value)); return *this;} private: HierarchyGroup m_hierarchyGroup; }; } // namespace Model } // namespace Connect } // namespace Aws