/*
* 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 iotfleethub-2020-11-03.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.IoTFleetHub.Model
{
///
/// A summary of information about a AWS IoT Device Management web application.
///
///
///
/// Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.
///
///
///
public partial class ApplicationSummary
{
private long? _applicationCreationDate;
private string _applicationDescription;
private string _applicationId;
private long? _applicationLastUpdateDate;
private string _applicationName;
private ApplicationState _applicationState;
private string _applicationUrl;
///
/// Gets and sets the property ApplicationCreationDate.
///
/// The date (in Unix epoch time) when the web application was created.
///
///
public long ApplicationCreationDate
{
get { return this._applicationCreationDate.GetValueOrDefault(); }
set { this._applicationCreationDate = value; }
}
// Check to see if ApplicationCreationDate property is set
internal bool IsSetApplicationCreationDate()
{
return this._applicationCreationDate.HasValue;
}
///
/// Gets and sets the property ApplicationDescription.
///
/// An optional description of the web application.
///
///
[AWSProperty(Min=1, Max=2048)]
public string ApplicationDescription
{
get { return this._applicationDescription; }
set { this._applicationDescription = value; }
}
// Check to see if ApplicationDescription property is set
internal bool IsSetApplicationDescription()
{
return this._applicationDescription != null;
}
///
/// Gets and sets the property ApplicationId.
///
/// The unique Id of the web application.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
///
/// Gets and sets the property ApplicationLastUpdateDate.
///
/// The date (in Unix epoch time) when the web application was last updated.
///
///
public long ApplicationLastUpdateDate
{
get { return this._applicationLastUpdateDate.GetValueOrDefault(); }
set { this._applicationLastUpdateDate = value; }
}
// Check to see if ApplicationLastUpdateDate property is set
internal bool IsSetApplicationLastUpdateDate()
{
return this._applicationLastUpdateDate.HasValue;
}
///
/// Gets and sets the property ApplicationName.
///
/// The name of the web application.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string ApplicationName
{
get { return this._applicationName; }
set { this._applicationName = value; }
}
// Check to see if ApplicationName property is set
internal bool IsSetApplicationName()
{
return this._applicationName != null;
}
///
/// Gets and sets the property ApplicationState.
///
/// The current state of the web application.
///
///
public ApplicationState ApplicationState
{
get { return this._applicationState; }
set { this._applicationState = value; }
}
// Check to see if ApplicationState property is set
internal bool IsSetApplicationState()
{
return this._applicationState != null;
}
///
/// Gets and sets the property ApplicationUrl.
///
/// The URL of the web application.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ApplicationUrl
{
get { return this._applicationUrl; }
set { this._applicationUrl = value; }
}
// Check to see if ApplicationUrl property is set
internal bool IsSetApplicationUrl()
{
return this._applicationUrl != null;
}
}
}