AWS SDK for C++  1.9.104
AWS SDK for C++
ListConfigurationRevisionsRequest.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 "ListConfigurationRevisions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
55  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 
63  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 
71  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
72 
79  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
80 
87  inline ListConfigurationRevisionsRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
88 
95  inline ListConfigurationRevisionsRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
96 
103  inline ListConfigurationRevisionsRequest& WithArn(const char* value) { SetArn(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 ListConfigurationRevisionsRequest& 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 ListConfigurationRevisionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
202 
211  inline ListConfigurationRevisionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
212 
221  inline ListConfigurationRevisionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
222 
223  private:
224 
225  Aws::String m_arn;
226  bool m_arnHasBeenSet;
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
KafkaRequest.h
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithArn
ListConfigurationRevisionsRequest & WithArn(const char *value)
Definition: ListConfigurationRevisionsRequest.h:103
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithNextToken
ListConfigurationRevisionsRequest & WithNextToken(const Aws::String &value)
Definition: ListConfigurationRevisionsRequest.h:201
Aws::Http::URI
Definition: URI.h:32
Aws::Kafka::Model::ListConfigurationRevisionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListConfigurationRevisionsRequest.h:113
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationRevisionsRequest.h:191
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithArn
ListConfigurationRevisionsRequest & WithArn(Aws::String &&value)
Definition: ListConfigurationRevisionsRequest.h:95
Aws::Kafka::Model::ListConfigurationRevisionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListConfigurationRevisionsRequest.h:122
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationRevisionsRequest.h:181
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListConfigurationRevisionsRequest.h:131
Aws::Kafka::Model::ListConfigurationRevisionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListConfigurationRevisionsRequest.h:161
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetArn
void SetArn(Aws::String &&value)
Definition: ListConfigurationRevisionsRequest.h:71
Aws::Kafka::Model::ListConfigurationRevisionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Kafka::Model::ListConfigurationRevisionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationRevisionsRequest.h:151
Aws::Kafka::Model::ListConfigurationRevisionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListConfigurationRevisionsRequest.h:34
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationRevisionsRequest.h:171
AWSString.h
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithMaxResults
ListConfigurationRevisionsRequest & WithMaxResults(int value)
Definition: ListConfigurationRevisionsRequest.h:140
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithArn
ListConfigurationRevisionsRequest & WithArn(const Aws::String &value)
Definition: ListConfigurationRevisionsRequest.h:87
Aws::Kafka::Model::ListConfigurationRevisionsRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ListConfigurationRevisionsRequest.h:55
Aws::Kafka::Model::ListConfigurationRevisionsRequest::GetArn
const Aws::String & GetArn() const
Definition: ListConfigurationRevisionsRequest.h:47
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetArn
void SetArn(const char *value)
Definition: ListConfigurationRevisionsRequest.h:79
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SetArn
void SetArn(const Aws::String &value)
Definition: ListConfigurationRevisionsRequest.h:63
Aws::Kafka::Model::ListConfigurationRevisionsRequest::ListConfigurationRevisionsRequest
ListConfigurationRevisionsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithNextToken
ListConfigurationRevisionsRequest & WithNextToken(const char *value)
Definition: ListConfigurationRevisionsRequest.h:221
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListConfigurationRevisionsRequest::WithNextToken
ListConfigurationRevisionsRequest & WithNextToken(Aws::String &&value)
Definition: ListConfigurationRevisionsRequest.h:211
Aws::Kafka::Model::ListConfigurationRevisionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::ListConfigurationRevisionsRequest
Definition: ListConfigurationRevisionsRequest.h:26