/*
 * 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 mgn-2020-02-26.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.Mgn.Model
{
    /// 
    /// 
    /// 
    public partial class Application
    {
        private ApplicationAggregatedStatus _applicationAggregatedStatus;
        private string _applicationid;
        private string _arn;
        private string _creationDateTime;
        private string _description;
        private bool? _isArchived;
        private string _lastModifiedDateTime;
        private string _name;
        private Dictionary _tags = new Dictionary();
        private string _waveid;
        /// 
        /// Gets and sets the property ApplicationAggregatedStatus. 
        /// 
        /// Application aggregated status.
        /// 
        /// 
        public ApplicationAggregatedStatus ApplicationAggregatedStatus
        {
            get { return this._applicationAggregatedStatus; }
            set { this._applicationAggregatedStatus = value; }
        }
        // Check to see if ApplicationAggregatedStatus property is set
        internal bool IsSetApplicationAggregatedStatus()
        {
            return this._applicationAggregatedStatus != null;
        }
        /// 
        /// Gets and sets the property ApplicationID. 
        /// 
        /// Application ID.
        /// 
        /// 
        [AWSProperty(Min=21, Max=21)]
        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 Arn. 
        /// 
        /// Application ARN.
        /// 
        /// 
        [AWSProperty(Min=20, Max=2048)]
        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 CreationDateTime. 
        /// 
        /// Application creation dateTime.
        /// 
        /// 
        [AWSProperty(Min=19, Max=32)]
        public string CreationDateTime
        {
            get { return this._creationDateTime; }
            set { this._creationDateTime = value; }
        }
        // Check to see if CreationDateTime property is set
        internal bool IsSetCreationDateTime()
        {
            return this._creationDateTime != null;
        }
        /// 
        /// Gets and sets the property Description. 
        /// 
        /// Application description.
        /// 
        /// 
        [AWSProperty(Min=0, Max=600)]
        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 IsArchived. 
        /// 
        /// Application archival status.
        /// 
        /// 
        public bool IsArchived
        {
            get { return this._isArchived.GetValueOrDefault(); }
            set { this._isArchived = value; }
        }
        // Check to see if IsArchived property is set
        internal bool IsSetIsArchived()
        {
            return this._isArchived.HasValue; 
        }
        /// 
        /// Gets and sets the property LastModifiedDateTime. 
        /// 
        /// Application last modified dateTime.
        /// 
        /// 
        [AWSProperty(Min=19, Max=32)]
        public string LastModifiedDateTime
        {
            get { return this._lastModifiedDateTime; }
            set { this._lastModifiedDateTime = value; }
        }
        // Check to see if LastModifiedDateTime property is set
        internal bool IsSetLastModifiedDateTime()
        {
            return this._lastModifiedDateTime != null;
        }
        /// 
        /// Gets and sets the property Name. 
        /// 
        /// Application name.
        /// 
        /// 
        [AWSProperty(Min=1, Max=256)]
        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 Tags. 
        /// 
        /// Application tags.
        /// 
        /// 
        [AWSProperty(Sensitive=true, 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; 
        }
        /// 
        /// Gets and sets the property WaveID. 
        /// 
        /// Application wave ID.
        /// 
        /// 
        [AWSProperty(Min=22, Max=22)]
        public string WaveID
        {
            get { return this._waveid; }
            set { this._waveid = value; }
        }
        // Check to see if WaveID property is set
        internal bool IsSetWaveID()
        {
            return this._waveid != null;
        }
    }
}