/** * 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 ManagedBlockchain { namespace Model { class CreateNodeResult { public: AWS_MANAGEDBLOCKCHAIN_API CreateNodeResult(); AWS_MANAGEDBLOCKCHAIN_API CreateNodeResult(const Aws::AmazonWebServiceResult& result); AWS_MANAGEDBLOCKCHAIN_API CreateNodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the node.

*/ inline const Aws::String& GetNodeId() const{ return m_nodeId; } /** *

The unique identifier of the node.

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

The unique identifier of the node.

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

The unique identifier of the node.

*/ inline void SetNodeId(const char* value) { m_nodeId.assign(value); } /** *

The unique identifier of the node.

*/ inline CreateNodeResult& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;} /** *

The unique identifier of the node.

*/ inline CreateNodeResult& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;} /** *

The unique identifier of the node.

*/ inline CreateNodeResult& WithNodeId(const char* value) { SetNodeId(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 CreateNodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nodeId; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws