AWS SDK for C++  1.9.105
AWS SDK for C++
ListClusterOperationsResult.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 
42  inline const Aws::Vector<ClusterOperationInfo>& GetClusterOperationInfoList() const{ return m_clusterOperationInfoList; }
43 
49  inline void SetClusterOperationInfoList(const Aws::Vector<ClusterOperationInfo>& value) { m_clusterOperationInfoList = value; }
50 
56  inline void SetClusterOperationInfoList(Aws::Vector<ClusterOperationInfo>&& value) { m_clusterOperationInfoList = std::move(value); }
57 
63  inline ListClusterOperationsResult& WithClusterOperationInfoList(const Aws::Vector<ClusterOperationInfo>& value) { SetClusterOperationInfoList(value); return *this;}
64 
70  inline ListClusterOperationsResult& WithClusterOperationInfoList(Aws::Vector<ClusterOperationInfo>&& value) { SetClusterOperationInfoList(std::move(value)); return *this;}
71 
77  inline ListClusterOperationsResult& AddClusterOperationInfoList(const ClusterOperationInfo& value) { m_clusterOperationInfoList.push_back(value); return *this; }
78 
84  inline ListClusterOperationsResult& AddClusterOperationInfoList(ClusterOperationInfo&& value) { m_clusterOperationInfoList.push_back(std::move(value)); return *this; }
85 
86 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
103  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
104 
112  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
113 
121  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
122 
130  inline ListClusterOperationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 
139  inline ListClusterOperationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 
148  inline ListClusterOperationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150  private:
151 
152  Aws::Vector<ClusterOperationInfo> m_clusterOperationInfoList;
153 
154  Aws::String m_nextToken;
155  };
156 
157 } // namespace Model
158 } // namespace Kafka
159 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::ListClusterOperationsResult::WithClusterOperationInfoList
ListClusterOperationsResult & WithClusterOperationInfoList(Aws::Vector< ClusterOperationInfo > &&value)
Definition: ListClusterOperationsResult.h:70
Aws::Kafka::Model::ListClusterOperationsResult::operator=
ListClusterOperationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::ListClusterOperationsResult
Definition: ListClusterOperationsResult.h:30
Aws::Kafka::Model::ListClusterOperationsResult::AddClusterOperationInfoList
ListClusterOperationsResult & AddClusterOperationInfoList(const ClusterOperationInfo &value)
Definition: ListClusterOperationsResult.h:77
Aws::Kafka::Model::ListClusterOperationsResult::ListClusterOperationsResult
ListClusterOperationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::ListClusterOperationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClusterOperationsResult.h:112
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Kafka::Model::ListClusterOperationsResult::SetClusterOperationInfoList
void SetClusterOperationInfoList(const Aws::Vector< ClusterOperationInfo > &value)
Definition: ListClusterOperationsResult.h:49
Aws::Kafka::Model::ListClusterOperationsResult::WithClusterOperationInfoList
ListClusterOperationsResult & WithClusterOperationInfoList(const Aws::Vector< ClusterOperationInfo > &value)
Definition: ListClusterOperationsResult.h:63
Aws::Kafka::Model::ListClusterOperationsResult::AddClusterOperationInfoList
ListClusterOperationsResult & AddClusterOperationInfoList(ClusterOperationInfo &&value)
Definition: ListClusterOperationsResult.h:84
Aws::Kafka::Model::ListClusterOperationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClusterOperationsResult.h:103
Aws::Kafka::Model::ListClusterOperationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListClusterOperationsResult.h:121
Aws::Kafka::Model::ListClusterOperationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClusterOperationsResult.h:94
Aws::Kafka::Model::ListClusterOperationsResult::ListClusterOperationsResult
ListClusterOperationsResult()
Aws::Kafka::Model::ListClusterOperationsResult::GetClusterOperationInfoList
const Aws::Vector< ClusterOperationInfo > & GetClusterOperationInfoList() const
Definition: ListClusterOperationsResult.h:42
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ClusterOperationInfo
Definition: ClusterOperationInfo.h:40
Aws::Kafka::Model::ListClusterOperationsResult::WithNextToken
ListClusterOperationsResult & WithNextToken(Aws::String &&value)
Definition: ListClusterOperationsResult.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListClusterOperationsResult::SetClusterOperationInfoList
void SetClusterOperationInfoList(Aws::Vector< ClusterOperationInfo > &&value)
Definition: ListClusterOperationsResult.h:56
Aws::Kafka::Model::ListClusterOperationsResult::WithNextToken
ListClusterOperationsResult & WithNextToken(const char *value)
Definition: ListClusterOperationsResult.h:148
Aws::Kafka::Model::ListClusterOperationsResult::WithNextToken
ListClusterOperationsResult & WithNextToken(const Aws::String &value)
Definition: ListClusterOperationsResult.h:130
ClusterOperationInfo.h