AWS SDK for C++  1.9.105
AWS SDK for C++
ListClusterOperationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Kafka
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListClusterOperations"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
47  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
48 
55  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
56 
63  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
64 
71  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
72 
79  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
80 
87  inline ListClusterOperationsRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
88 
95  inline ListClusterOperationsRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
96 
103  inline ListClusterOperationsRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
104 
105 
113  inline int GetMaxResults() const{ return m_maxResults; }
114 
122  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
123 
131  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
132 
140  inline ListClusterOperationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 
142 
151  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
152 
161  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
162 
171  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
172 
181  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
182 
191  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
192 
201  inline ListClusterOperationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
202 
211  inline ListClusterOperationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
212 
221  inline ListClusterOperationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
222 
223  private:
224 
225  Aws::String m_clusterArn;
226  bool m_clusterArnHasBeenSet;
227 
228  int m_maxResults;
229  bool m_maxResultsHasBeenSet;
230 
231  Aws::String m_nextToken;
232  bool m_nextTokenHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace Kafka
237 } // namespace Aws
Aws::Kafka::Model::ListClusterOperationsRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: ListClusterOperationsRequest.h:55
KafkaRequest.h
Aws::Kafka::Model::ListClusterOperationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListClusterOperationsRequest.h:122
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::ListClusterOperationsRequest::WithClusterArn
ListClusterOperationsRequest & WithClusterArn(Aws::String &&value)
Definition: ListClusterOperationsRequest.h:95
Aws::Http::URI
Definition: URI.h:32
Aws::Kafka::Model::ListClusterOperationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClusterOperationsRequest.h:181
Aws::Kafka::Model::ListClusterOperationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListClusterOperationsRequest.h:113
Aws::Kafka::Model::ListClusterOperationsRequest::WithNextToken
ListClusterOperationsRequest & WithNextToken(Aws::String &&value)
Definition: ListClusterOperationsRequest.h:211
Aws::Kafka::Model::ListClusterOperationsRequest::WithNextToken
ListClusterOperationsRequest & WithNextToken(const char *value)
Definition: ListClusterOperationsRequest.h:221
Aws::Kafka::Model::ListClusterOperationsRequest::ListClusterOperationsRequest
ListClusterOperationsRequest()
Aws::Kafka::Model::ListClusterOperationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListClusterOperationsRequest.h:161
Aws::Kafka::Model::ListClusterOperationsRequest::WithClusterArn
ListClusterOperationsRequest & WithClusterArn(const char *value)
Definition: ListClusterOperationsRequest.h:103
Aws::Kafka::Model::ListClusterOperationsRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: ListClusterOperationsRequest.h:71
Aws::Kafka::Model::ListClusterOperationsRequest::WithClusterArn
ListClusterOperationsRequest & WithClusterArn(const Aws::String &value)
Definition: ListClusterOperationsRequest.h:87
Aws::Kafka::Model::ListClusterOperationsRequest::WithMaxResults
ListClusterOperationsRequest & WithMaxResults(int value)
Definition: ListClusterOperationsRequest.h:140
Aws::Kafka::Model::ListClusterOperationsRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: ListClusterOperationsRequest.h:47
Aws::Kafka::Model::ListClusterOperationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::ListClusterOperationsRequest
Definition: ListClusterOperationsRequest.h:26
Aws::Kafka::Model::ListClusterOperationsRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: ListClusterOperationsRequest.h:79
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListClusterOperationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClusterOperationsRequest.h:151
Aws::Kafka::Model::ListClusterOperationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClusterOperationsRequest.h:171
Aws::Kafka::Model::ListClusterOperationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListClusterOperationsRequest.h:191
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListClusterOperationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListClusterOperationsRequest.h:131
Aws::Kafka::Model::ListClusterOperationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListClusterOperationsRequest::WithNextToken
ListClusterOperationsRequest & WithNextToken(const Aws::String &value)
Definition: ListClusterOperationsRequest.h:201
Aws::Kafka::Model::ListClusterOperationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListClusterOperationsRequest.h:34
Aws::Kafka::Model::ListClusterOperationsRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: ListClusterOperationsRequest.h:63