/* * 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 iot-2015-05-28.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.IoT.Model { /// /// A summary of information about a provisioning template. /// public partial class ProvisioningTemplateSummary { private DateTime? _creationDate; private string _description; private bool? _enabled; private DateTime? _lastModifiedDate; private string _templateArn; private string _templateName; private TemplateType _type; /// /// Gets and sets the property CreationDate. /// /// The date when the provisioning template summary was created. /// /// public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// /// Gets and sets the property Description. /// /// The description of the provisioning template. /// /// [AWSProperty(Min=0, Max=500)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Enabled. /// /// True if the fleet provision template is enabled, otherwise false. /// /// public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// /// Gets and sets the property LastModifiedDate. /// /// The date when the provisioning template summary was last modified. /// /// public DateTime LastModifiedDate { get { return this._lastModifiedDate.GetValueOrDefault(); } set { this._lastModifiedDate = value; } } // Check to see if LastModifiedDate property is set internal bool IsSetLastModifiedDate() { return this._lastModifiedDate.HasValue; } /// /// Gets and sets the property TemplateArn. /// /// The ARN of the provisioning template. /// /// public string TemplateArn { get { return this._templateArn; } set { this._templateArn = value; } } // Check to see if TemplateArn property is set internal bool IsSetTemplateArn() { return this._templateArn != null; } /// /// Gets and sets the property TemplateName. /// /// The name of the provisioning template. /// /// [AWSProperty(Min=1, Max=36)] public string TemplateName { get { return this._templateName; } set { this._templateName = value; } } // Check to see if TemplateName property is set internal bool IsSetTemplateName() { return this._templateName != null; } /// /// Gets and sets the property Type. /// /// The type you define in a provisioning template. You can create a template with only /// one type. You can't change the template type after its creation. The default value /// is FLEET_PROVISIONING. For more information about provisioning template, /// see: Provisioning /// template. /// /// public TemplateType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }