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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

The paginated results marker. When the result of a ListNodes * operation is truncated, the call returns NextToken in the response. * To get another batch of nodes, provide this token in your next request.

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

List containing a NodeInfo object.

*/ inline const Aws::Vector& GetNodeInfoList() const{ return m_nodeInfoList; } /** *

List containing a NodeInfo object.

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

List containing a NodeInfo object.

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

List containing a NodeInfo object.

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

List containing a NodeInfo object.

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

List containing a NodeInfo object.

*/ inline ListNodesResult& AddNodeInfoList(const NodeInfo& value) { m_nodeInfoList.push_back(value); return *this; } /** *

List containing a NodeInfo object.

*/ inline ListNodesResult& AddNodeInfoList(NodeInfo&& value) { m_nodeInfoList.push_back(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 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::String m_nextToken; Aws::Vector m_nodeInfoList; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws