/*
* 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 panorama-2019-07-24.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.Panorama.Model
{
///
/// This is the response object from the DescribeApplicationInstance operation.
///
public partial class DescribeApplicationInstanceResponse : AmazonWebServiceResponse
{
private string _applicationInstanceId;
private string _applicationInstanceIdToReplace;
private string _arn;
private DateTime? _createdTime;
private string _defaultRuntimeContextDevice;
private string _defaultRuntimeContextDeviceName;
private string _description;
private ApplicationInstanceHealthStatus _healthStatus;
private DateTime? _lastUpdatedTime;
private string _name;
private List _runtimeContextStates = new List();
private string _runtimeRoleArn;
private ApplicationInstanceStatus _status;
private string _statusDescription;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property ApplicationInstanceId.
///
/// The application instance's ID.
///
///
[AWSProperty(Min=1, Max=255)]
public string ApplicationInstanceId
{
get { return this._applicationInstanceId; }
set { this._applicationInstanceId = value; }
}
// Check to see if ApplicationInstanceId property is set
internal bool IsSetApplicationInstanceId()
{
return this._applicationInstanceId != null;
}
///
/// Gets and sets the property ApplicationInstanceIdToReplace.
///
/// The ID of the application instance that this instance replaced.
///
///
[AWSProperty(Min=1, Max=255)]
public string ApplicationInstanceIdToReplace
{
get { return this._applicationInstanceIdToReplace; }
set { this._applicationInstanceIdToReplace = value; }
}
// Check to see if ApplicationInstanceIdToReplace property is set
internal bool IsSetApplicationInstanceIdToReplace()
{
return this._applicationInstanceIdToReplace != null;
}
///
/// Gets and sets the property Arn.
///
/// The application instance's ARN.
///
///
[AWSProperty(Min=1, Max=255)]
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 CreatedTime.
///
/// When the application instance was created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property DefaultRuntimeContextDevice.
///
/// The device's ID.
///
///
[AWSProperty(Min=1, Max=255)]
public string DefaultRuntimeContextDevice
{
get { return this._defaultRuntimeContextDevice; }
set { this._defaultRuntimeContextDevice = value; }
}
// Check to see if DefaultRuntimeContextDevice property is set
internal bool IsSetDefaultRuntimeContextDevice()
{
return this._defaultRuntimeContextDevice != null;
}
///
/// Gets and sets the property DefaultRuntimeContextDeviceName.
///
/// The device's bane.
///
///
[AWSProperty(Min=1, Max=255)]
public string DefaultRuntimeContextDeviceName
{
get { return this._defaultRuntimeContextDeviceName; }
set { this._defaultRuntimeContextDeviceName = value; }
}
// Check to see if DefaultRuntimeContextDeviceName property is set
internal bool IsSetDefaultRuntimeContextDeviceName()
{
return this._defaultRuntimeContextDeviceName != null;
}
///
/// Gets and sets the property Description.
///
/// The application instance's description.
///
///
[AWSProperty(Min=0, Max=255)]
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 HealthStatus.
///
/// The application instance's health status.
///
///
public ApplicationInstanceHealthStatus HealthStatus
{
get { return this._healthStatus; }
set { this._healthStatus = value; }
}
// Check to see if HealthStatus property is set
internal bool IsSetHealthStatus()
{
return this._healthStatus != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The application instance was updated.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The application instance's name.
///
///
[AWSProperty(Min=1, Max=255)]
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 RuntimeContextStates.
///
/// The application instance's state.
///
///
public List RuntimeContextStates
{
get { return this._runtimeContextStates; }
set { this._runtimeContextStates = value; }
}
// Check to see if RuntimeContextStates property is set
internal bool IsSetRuntimeContextStates()
{
return this._runtimeContextStates != null && this._runtimeContextStates.Count > 0;
}
///
/// Gets and sets the property RuntimeRoleArn.
///
/// The application instance's runtime role ARN.
///
///
[AWSProperty(Min=1, Max=255)]
public string RuntimeRoleArn
{
get { return this._runtimeRoleArn; }
set { this._runtimeRoleArn = value; }
}
// Check to see if RuntimeRoleArn property is set
internal bool IsSetRuntimeRoleArn()
{
return this._runtimeRoleArn != null;
}
///
/// Gets and sets the property Status.
///
/// The application instance's status.
///
///
public ApplicationInstanceStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusDescription.
///
/// The application instance's status description.
///
///
[AWSProperty(Min=1, Max=255)]
public string StatusDescription
{
get { return this._statusDescription; }
set { this._statusDescription = value; }
}
// Check to see if StatusDescription property is set
internal bool IsSetStatusDescription()
{
return this._statusDescription != null;
}
///
/// Gets and sets the property Tags.
///
/// The application instance's tags.
///
///
[AWSProperty(Min=0, 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;
}
}
}