/** * 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 AWS_MANAGEDBLOCKCHAIN_API CreateNodeResult { public: CreateNodeResult(); CreateNodeResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_nodeId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws