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

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline const Aws::String& GetNodeAssociationStatusToken() const{ return m_nodeAssociationStatusToken; } /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline void SetNodeAssociationStatusToken(const Aws::String& value) { m_nodeAssociationStatusToken = value; } /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline void SetNodeAssociationStatusToken(Aws::String&& value) { m_nodeAssociationStatusToken = std::move(value); } /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline void SetNodeAssociationStatusToken(const char* value) { m_nodeAssociationStatusToken.assign(value); } /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline AssociateNodeResult& WithNodeAssociationStatusToken(const Aws::String& value) { SetNodeAssociationStatusToken(value); return *this;} /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline AssociateNodeResult& WithNodeAssociationStatusToken(Aws::String&& value) { SetNodeAssociationStatusToken(std::move(value)); return *this;} /** *

Contains a token which can be passed to the * DescribeNodeAssociationStatus API call to get the status of the * association request.

*/ inline AssociateNodeResult& WithNodeAssociationStatusToken(const char* value) { SetNodeAssociationStatusToken(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 AssociateNodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateNodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateNodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nodeAssociationStatusToken; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorksCM } // namespace Aws