/*
* 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 elasticbeanstalk-2010-12-01.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.ElasticBeanstalk.Model
{
///
/// Describes the properties of an application.
///
public partial class ApplicationDescription
{
private string _applicationArn;
private string _applicationName;
private List _configurationTemplates = new List();
private DateTime? _dateCreated;
private DateTime? _dateUpdated;
private string _description;
private ApplicationResourceLifecycleConfig _resourceLifecycleConfig;
private List _versions = new List();
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public ApplicationDescription() { }
///
/// Gets and sets the property ApplicationArn.
///
/// The Amazon Resource Name (ARN) of the application.
///
///
public string ApplicationArn
{
get { return this._applicationArn; }
set { this._applicationArn = value; }
}
// Check to see if ApplicationArn property is set
internal bool IsSetApplicationArn()
{
return this._applicationArn != null;
}
///
/// Gets and sets the property ApplicationName.
///
/// The name of the application.
///
///
[AWSProperty(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 ConfigurationTemplates.
///
/// The names of the configuration templates associated with this application.
///
///
public List ConfigurationTemplates
{
get { return this._configurationTemplates; }
set { this._configurationTemplates = value; }
}
// Check to see if ConfigurationTemplates property is set
internal bool IsSetConfigurationTemplates()
{
return this._configurationTemplates != null && this._configurationTemplates.Count > 0;
}
///
/// Gets and sets the property DateCreated.
///
/// The date when the application was created.
///
///
public DateTime DateCreated
{
get { return this._dateCreated.GetValueOrDefault(); }
set { this._dateCreated = value; }
}
// Check to see if DateCreated property is set
internal bool IsSetDateCreated()
{
return this._dateCreated.HasValue;
}
///
/// Gets and sets the property DateUpdated.
///
/// The date when the application was last modified.
///
///
public DateTime DateUpdated
{
get { return this._dateUpdated.GetValueOrDefault(); }
set { this._dateUpdated = value; }
}
// Check to see if DateUpdated property is set
internal bool IsSetDateUpdated()
{
return this._dateUpdated.HasValue;
}
///
/// Gets and sets the property Description.
///
/// User-defined description of the application.
///
///
[AWSProperty(Max=200)]
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 ResourceLifecycleConfig.
///
/// The lifecycle settings for the application.
///
///
public ApplicationResourceLifecycleConfig ResourceLifecycleConfig
{
get { return this._resourceLifecycleConfig; }
set { this._resourceLifecycleConfig = value; }
}
// Check to see if ResourceLifecycleConfig property is set
internal bool IsSetResourceLifecycleConfig()
{
return this._resourceLifecycleConfig != null;
}
///
/// Gets and sets the property Versions.
///
/// The names of the versions for this application.
///
///
public List Versions
{
get { return this._versions; }
set { this._versions = value; }
}
// Check to see if Versions property is set
internal bool IsSetVersions()
{
return this._versions != null && this._versions.Count > 0;
}
}
}