/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace OpsWorksCM { namespace Model { class DescribeNodeAssociationStatusResult { public: AWS_OPSWORKSCM_API DescribeNodeAssociationStatusResult(); AWS_OPSWORKSCM_API DescribeNodeAssociationStatusResult(const Aws::AmazonWebServiceResult& result); AWS_OPSWORKSCM_API DescribeNodeAssociationStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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.

*/ inline const NodeAssociationStatus& GetNodeAssociationStatus() const{ return m_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.

*/ inline void SetNodeAssociationStatus(const NodeAssociationStatus& value) { m_nodeAssociationStatus = value; } /** *

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.

*/ inline void SetNodeAssociationStatus(NodeAssociationStatus&& value) { m_nodeAssociationStatus = std::move(value); } /** *

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.

*/ inline DescribeNodeAssociationStatusResult& WithNodeAssociationStatus(const NodeAssociationStatus& value) { SetNodeAssociationStatus(value); return *this;} /** *

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.

*/ inline DescribeNodeAssociationStatusResult& WithNodeAssociationStatus(NodeAssociationStatus&& value) { SetNodeAssociationStatus(std::move(value)); return *this;} /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline const Aws::Vector& GetEngineAttributes() const{ return m_engineAttributes; } /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline void SetEngineAttributes(const Aws::Vector& value) { m_engineAttributes = value; } /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline void SetEngineAttributes(Aws::Vector&& value) { m_engineAttributes = std::move(value); } /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline DescribeNodeAssociationStatusResult& WithEngineAttributes(const Aws::Vector& value) { SetEngineAttributes(value); return *this;} /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline DescribeNodeAssociationStatusResult& WithEngineAttributes(Aws::Vector&& value) { SetEngineAttributes(std::move(value)); return *this;} /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline DescribeNodeAssociationStatusResult& AddEngineAttributes(const EngineAttribute& value) { m_engineAttributes.push_back(value); return *this; } /** *

Attributes specific to the node association. In Puppet, the attibute * PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

*/ inline DescribeNodeAssociationStatusResult& AddEngineAttributes(EngineAttribute&& value) { m_engineAttributes.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeNodeAssociationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeNodeAssociationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeNodeAssociationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: NodeAssociationStatus m_nodeAssociationStatus; Aws::Vector m_engineAttributes; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorksCM } // namespace Aws