AWS SDK for C++  1.9.106
AWS SDK for C++
ListNodesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Kafka
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
46  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 
57  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
58 
68  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
69 
79  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
80 
90  inline ListNodesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 
101  inline ListNodesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
112  inline ListNodesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
113 
114 
120  inline const Aws::Vector<NodeInfo>& GetNodeInfoList() const{ return m_nodeInfoList; }
121 
127  inline void SetNodeInfoList(const Aws::Vector<NodeInfo>& value) { m_nodeInfoList = value; }
128 
134  inline void SetNodeInfoList(Aws::Vector<NodeInfo>&& value) { m_nodeInfoList = std::move(value); }
135 
141  inline ListNodesResult& WithNodeInfoList(const Aws::Vector<NodeInfo>& value) { SetNodeInfoList(value); return *this;}
142 
148  inline ListNodesResult& WithNodeInfoList(Aws::Vector<NodeInfo>&& value) { SetNodeInfoList(std::move(value)); return *this;}
149 
155  inline ListNodesResult& AddNodeInfoList(const NodeInfo& value) { m_nodeInfoList.push_back(value); return *this; }
156 
162  inline ListNodesResult& AddNodeInfoList(NodeInfo&& value) { m_nodeInfoList.push_back(std::move(value)); return *this; }
163 
164  private:
165 
166  Aws::String m_nextToken;
167 
168  Aws::Vector<NodeInfo> m_nodeInfoList;
169  };
170 
171 } // namespace Model
172 } // namespace Kafka
173 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::NodeInfo
Definition: NodeInfo.h:37
Aws::Kafka::Model::ListNodesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListNodesResult.h:57
Aws::Kafka::Model::ListNodesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListNodesResult.h:68
Aws::Kafka::Model::ListNodesResult::WithNextToken
ListNodesResult & WithNextToken(const Aws::String &value)
Definition: ListNodesResult.h:90
Aws::Kafka::Model::ListNodesResult::SetNodeInfoList
void SetNodeInfoList(const Aws::Vector< NodeInfo > &value)
Definition: ListNodesResult.h:127
Aws::Kafka::Model::ListNodesResult::ListNodesResult
ListNodesResult()
Aws::Kafka::Model::ListNodesResult::WithNodeInfoList
ListNodesResult & WithNodeInfoList(const Aws::Vector< NodeInfo > &value)
Definition: ListNodesResult.h:141
Aws::Kafka::Model::ListNodesResult::operator=
ListNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::ListNodesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListNodesResult.h:79
NodeInfo.h
Aws::Kafka::Model::ListNodesResult::WithNodeInfoList
ListNodesResult & WithNodeInfoList(Aws::Vector< NodeInfo > &&value)
Definition: ListNodesResult.h:148
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Kafka::Model::ListNodesResult::ListNodesResult
ListNodesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::ListNodesResult::WithNextToken
ListNodesResult & WithNextToken(const char *value)
Definition: ListNodesResult.h:112
Aws::Kafka::Model::ListNodesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListNodesResult.h:46
Aws::Kafka::Model::ListNodesResult::AddNodeInfoList
ListNodesResult & AddNodeInfoList(NodeInfo &&value)
Definition: ListNodesResult.h:162
Aws::Kafka::Model::ListNodesResult::AddNodeInfoList
ListNodesResult & AddNodeInfoList(const NodeInfo &value)
Definition: ListNodesResult.h:155
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListNodesResult::SetNodeInfoList
void SetNodeInfoList(Aws::Vector< NodeInfo > &&value)
Definition: ListNodesResult.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListNodesResult::GetNodeInfoList
const Aws::Vector< NodeInfo > & GetNodeInfoList() const
Definition: ListNodesResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListNodesResult
Definition: ListNodesResult.h:30
Aws::Kafka::Model::ListNodesResult::WithNextToken
ListNodesResult & WithNextToken(Aws::String &&value)
Definition: ListNodesResult.h:101