/*
 * 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 opsworkscm-2016-11-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.OpsWorksCM.Model
{
    /// 
    /// This is the response object from the DescribeNodeAssociationStatus operation.
    /// 
    public partial class DescribeNodeAssociationStatusResponse : AmazonWebServiceResponse
    {
        private List _engineAttributes = new List();
        private NodeAssociationStatus _nodeAssociationStatus;
        /// 
        /// Gets and sets the property EngineAttributes. 
        /// 
        /// Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT
        /// contains the signed certificate (the result of the CSR). 
        /// 
        /// 
        public List EngineAttributes
        {
            get { return this._engineAttributes; }
            set { this._engineAttributes = value; }
        }
        // Check to see if EngineAttributes property is set
        internal bool IsSetEngineAttributes()
        {
            return this._engineAttributes != null && this._engineAttributes.Count > 0; 
        }
        /// 
        /// Gets and sets the property NodeAssociationStatus. 
        /// 
        /// The status of the association or disassociation request. 
        /// 
        ///   Possible values: 
        /// 
        ///  
 -  
        /// 
        ///  SUCCESS: The association or disassociation succeeded. 
        /// 
        ///
-  
        /// 
        ///  FAILED: The association or disassociation failed. 
        /// 
        ///
-  
        /// 
        ///  IN_PROGRESS: The association or disassociation is still in progress.
        /// 
        /// 
        ///
/// 
        public NodeAssociationStatus NodeAssociationStatus
        {
            get { return this._nodeAssociationStatus; }
            set { this._nodeAssociationStatus = value; }
        }
        // Check to see if NodeAssociationStatus property is set
        internal bool IsSetNodeAssociationStatus()
        {
            return this._nodeAssociationStatus != null;
        }
    }
}