/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a hierarchy group.See Also:
AWS
* API Reference
The identifier of the hierarchy group.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the hierarchy group.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the hierarchy group.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the hierarchy group.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the hierarchy group.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the hierarchy group.
*/ inline HierarchyGroup& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the hierarchy group.
*/ inline HierarchyGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the hierarchy group.
*/ inline HierarchyGroup& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline HierarchyGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline HierarchyGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the hierarchy group.
*/ inline HierarchyGroup& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the hierarchy group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the hierarchy group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the hierarchy group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the hierarchy group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the hierarchy group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the hierarchy group.
*/ inline HierarchyGroup& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the hierarchy group.
*/ inline HierarchyGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the hierarchy group.
*/ inline HierarchyGroup& WithName(const char* value) { SetName(value); return *this;} /** *The identifier of the level in the hierarchy group.
*/ inline const Aws::String& GetLevelId() const{ return m_levelId; } /** *The identifier of the level in the hierarchy group.
*/ inline bool LevelIdHasBeenSet() const { return m_levelIdHasBeenSet; } /** *The identifier of the level in the hierarchy group.
*/ inline void SetLevelId(const Aws::String& value) { m_levelIdHasBeenSet = true; m_levelId = value; } /** *The identifier of the level in the hierarchy group.
*/ inline void SetLevelId(Aws::String&& value) { m_levelIdHasBeenSet = true; m_levelId = std::move(value); } /** *The identifier of the level in the hierarchy group.
*/ inline void SetLevelId(const char* value) { m_levelIdHasBeenSet = true; m_levelId.assign(value); } /** *The identifier of the level in the hierarchy group.
*/ inline HierarchyGroup& WithLevelId(const Aws::String& value) { SetLevelId(value); return *this;} /** *The identifier of the level in the hierarchy group.
*/ inline HierarchyGroup& WithLevelId(Aws::String&& value) { SetLevelId(std::move(value)); return *this;} /** *The identifier of the level in the hierarchy group.
*/ inline HierarchyGroup& WithLevelId(const char* value) { SetLevelId(value); return *this;} /** *Information about the levels in the hierarchy group.
*/ inline const HierarchyPath& GetHierarchyPath() const{ return m_hierarchyPath; } /** *Information about the levels in the hierarchy group.
*/ inline bool HierarchyPathHasBeenSet() const { return m_hierarchyPathHasBeenSet; } /** *Information about the levels in the hierarchy group.
*/ inline void SetHierarchyPath(const HierarchyPath& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = value; } /** *Information about the levels in the hierarchy group.
*/ inline void SetHierarchyPath(HierarchyPath&& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = std::move(value); } /** *Information about the levels in the hierarchy group.
*/ inline HierarchyGroup& WithHierarchyPath(const HierarchyPath& value) { SetHierarchyPath(value); return *this;} /** *Information about the levels in the hierarchy group.
*/ inline HierarchyGroup& WithHierarchyPath(HierarchyPath&& value) { SetHierarchyPath(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_levelId; bool m_levelIdHasBeenSet; HierarchyPath m_hierarchyPath; bool m_hierarchyPathHasBeenSet; }; } // namespace Model } // namespace Connect } // namespace Aws