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

Properties of the node configuration.

*/ inline const Node& GetNode() const{ return m_node; } /** *

Properties of the node configuration.

*/ inline void SetNode(const Node& value) { m_node = value; } /** *

Properties of the node configuration.

*/ inline void SetNode(Node&& value) { m_node = std::move(value); } /** *

Properties of the node configuration.

*/ inline GetNodeResult& WithNode(const Node& value) { SetNode(value); return *this;} /** *

Properties of the node configuration.

*/ inline GetNodeResult& WithNode(Node&& value) { SetNode(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 GetNodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetNodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetNodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Node m_node; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws