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

An array of NodeSummary objects that contain configuration * properties for each node.

*/ inline const Aws::Vector& GetNodes() const{ return m_nodes; } /** *

An array of NodeSummary objects that contain configuration * properties for each node.

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

An array of NodeSummary objects that contain configuration * properties for each node.

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

An array of NodeSummary objects that contain configuration * properties for each node.

*/ inline ListNodesResult& WithNodes(const Aws::Vector& value) { SetNodes(value); return *this;} /** *

An array of NodeSummary objects that contain configuration * properties for each node.

*/ inline ListNodesResult& WithNodes(Aws::Vector&& value) { SetNodes(std::move(value)); return *this;} /** *

An array of NodeSummary objects that contain configuration * properties for each node.

*/ inline ListNodesResult& AddNodes(const NodeSummary& value) { m_nodes.push_back(value); return *this; } /** *

An array of NodeSummary objects that contain configuration * properties for each node.

*/ inline ListNodesResult& AddNodes(NodeSummary&& value) { m_nodes.push_back(std::move(value)); return *this; } /** *

The pagination token that indicates the next set of results to retrieve.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token that indicates the next set of results to retrieve.

*/ inline ListNodesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token that indicates the next set of results to retrieve.

*/ inline ListNodesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token that indicates the next set of results to retrieve.

*/ inline ListNodesResult& WithNextToken(const char* value) { SetNextToken(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 ListNodesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListNodesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListNodesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_nodes; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws