/* * 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 iotsitewise-2019-12-02.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.IoTSiteWise.Model { /// /// Identifies a property value used in an expression. /// public partial class VariableValue { private string _hierarchyId; private string _propertyId; /// /// Gets and sets the property HierarchyId. /// /// The ID of the hierarchy to query for the property ID. You can use the hierarchy's /// name instead of the hierarchy's ID. /// /// /// /// You use a hierarchy ID instead of a model ID because you can have several hierarchies /// using the same model and therefore the same propertyId. For example, /// you might have separately grouped assets that come from the same asset model. For /// more information, see Asset /// hierarchies in the IoT SiteWise User Guide. /// /// [AWSProperty(Min=1, Max=256)] public string HierarchyId { get { return this._hierarchyId; } set { this._hierarchyId = value; } } // Check to see if HierarchyId property is set internal bool IsSetHierarchyId() { return this._hierarchyId != null; } /// /// Gets and sets the property PropertyId. /// /// The ID of the property to use as the variable. You can use the property name /// if it's from the same asset model. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string PropertyId { get { return this._propertyId; } set { this._propertyId = value; } } // Check to see if PropertyId property is set internal bool IsSetPropertyId() { return this._propertyId != null; } } }