/* * 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model { /// /// The inventory item schema definition. Users can use this to compose inventory query /// filters. /// public partial class InventoryItemSchema { private List _attributes = new List(); private string _displayName; private string _typeName; private string _version; /// /// Gets and sets the property Attributes. /// /// The schema attributes for inventory. This contains data type and attribute name. /// /// [AWSProperty(Required=true, Min=1, Max=50)] public List Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null && this._attributes.Count > 0; } /// /// Gets and sets the property DisplayName. /// /// The alias name of the inventory type. The alias name is used for display purposes. /// /// public string DisplayName { get { return this._displayName; } set { this._displayName = value; } } // Check to see if DisplayName property is set internal bool IsSetDisplayName() { return this._displayName != null; } /// /// Gets and sets the property TypeName. /// /// The name of the inventory type. Default inventory item type names start with Amazon /// Web Services. Custom inventory type names will start with Custom. Default inventory /// item types include the following: AWS:AWSComponent, AWS:Application, /// AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string TypeName { get { return this._typeName; } set { this._typeName = value; } } // Check to see if TypeName property is set internal bool IsSetTypeName() { return this._typeName != null; } /// /// Gets and sets the property Version. /// /// The schema version for the inventory item. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }