/*
 * 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 settings for a configuration set.
    /// 
    public partial class CreateConfigurationTemplateResponse : AmazonWebServiceResponse
    {
        private string _applicationName;
        private DateTime? _dateCreated;
        private DateTime? _dateUpdated;
        private ConfigurationDeploymentStatus _deploymentStatus;
        private string _description;
        private string _environmentName;
        private List _optionSettings = new List();
        private string _platformArn;
        private string _solutionStackName;
        private string _templateName;
        /// 
        /// Gets and sets the property ApplicationName. 
        /// 
        /// The name of the application associated with this configuration set.
        /// 
        /// 
        [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 DateCreated. 
        /// 
        /// The date (in UTC time) when this configuration set 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 (in UTC time) when this configuration set 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 DeploymentStatus. 
        /// 
        ///  If this configuration set is associated with an environment, the DeploymentStatus
        /// parameter indicates the deployment status of this configuration set: 
        /// 
        ///   -  
        /// 
        ///  null: This configuration is not associated with a running environment.
        /// 
        ///
-  
        /// 
        ///  pending: This is a draft configuration that is not deployed to the associated
        /// environment but is in the process of deploying.
        /// 
        ///
-  
        /// 
        ///  deployed: This is the configuration that is currently deployed to the
        /// associated running environment.
        /// 
        ///
-  
        /// 
        ///  failed: This is a draft configuration that failed to successfully deploy.
        /// 
        ///
/// 
        public ConfigurationDeploymentStatus DeploymentStatus
        {
            get { return this._deploymentStatus; }
            set { this._deploymentStatus = value; }
        }
        // Check to see if DeploymentStatus property is set
        internal bool IsSetDeploymentStatus()
        {
            return this._deploymentStatus != null;
        }
        /// 
        /// Gets and sets the property Description. 
        /// 
        /// Describes this configuration set.
        /// 
        /// 
        [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 EnvironmentName. 
        /// 
        ///  If notnull, the name of the environment for this configuration set.
        /// 
        /// 
        /// 
        [AWSProperty(Min=4, Max=40)]
        public string EnvironmentName
        {
            get { return this._environmentName; }
            set { this._environmentName = value; }
        }
        // Check to see if EnvironmentName property is set
        internal bool IsSetEnvironmentName()
        {
            return this._environmentName != null;
        }
        /// 
        /// Gets and sets the property OptionSettings. 
        /// 
        /// A list of the configuration options and their values in this configuration set.
        /// 
        /// 
        public List OptionSettings
        {
            get { return this._optionSettings; }
            set { this._optionSettings = value; }
        }
        // Check to see if OptionSettings property is set
        internal bool IsSetOptionSettings()
        {
            return this._optionSettings != null && this._optionSettings.Count > 0; 
        }
        /// 
        /// Gets and sets the property PlatformArn. 
        /// 
        /// The ARN of the platform version.
        /// 
        /// 
        public string PlatformArn
        {
            get { return this._platformArn; }
            set { this._platformArn = value; }
        }
        // Check to see if PlatformArn property is set
        internal bool IsSetPlatformArn()
        {
            return this._platformArn != null;
        }
        /// 
        /// Gets and sets the property SolutionStackName. 
        /// 
        /// The name of the solution stack this configuration set uses.
        /// 
        /// 
        public string SolutionStackName
        {
            get { return this._solutionStackName; }
            set { this._solutionStackName = value; }
        }
        // Check to see if SolutionStackName property is set
        internal bool IsSetSolutionStackName()
        {
            return this._solutionStackName != null;
        }
        /// 
        /// Gets and sets the property TemplateName. 
        /// 
        ///  If not null, the name of the configuration template for this configuration
        /// set. 
        /// 
        /// 
        [AWSProperty(Min=1, Max=100)]
        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;
        }
    }
}