/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the connect-2017-08-08.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Connect.Model { /// /// Contains information about a hierarchy group. /// public partial class HierarchyGroup { private string _arn; private HierarchyPath _hierarchyPath; private string _id; private string _levelId; private string _name; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) of the hierarchy group. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property HierarchyPath. /// /// Information about the levels in the hierarchy group. /// /// public HierarchyPath HierarchyPath { get { return this._hierarchyPath; } set { this._hierarchyPath = value; } } // Check to see if HierarchyPath property is set internal bool IsSetHierarchyPath() { return this._hierarchyPath != null; } /// /// Gets and sets the property Id. /// /// The identifier of the hierarchy group. /// /// public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property LevelId. /// /// The identifier of the level in the hierarchy group. /// /// public string LevelId { get { return this._levelId; } set { this._levelId = value; } } // Check to see if LevelId property is set internal bool IsSetLevelId() { return this._levelId != null; } /// /// Gets and sets the property Name. /// /// The name of the hierarchy group. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Tags. /// /// The tags used to organize, track, or control access for this resource. For example, /// { "tags": {"key1":"value1", "key2":"value2"} }. /// /// [AWSProperty(Min=1, Max=50)] public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }