AWS SDK for C++  1.9.105
AWS SDK for C++
ListScramSecretsRequest.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 "ListScramSecrets"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
47 
53  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
54 
60  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
61 
67  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
68 
74  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
75 
81  inline ListScramSecretsRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
82 
88  inline ListScramSecretsRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
89 
95  inline ListScramSecretsRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
96 
97 
103  inline int GetMaxResults() const{ return m_maxResults; }
104 
110  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 
117  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
118 
124  inline ListScramSecretsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125 
126 
132  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
133 
139  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
140 
146  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
147 
153  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 
160  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
161 
167  inline ListScramSecretsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
168 
174  inline ListScramSecretsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
175 
181  inline ListScramSecretsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183  private:
184 
185  Aws::String m_clusterArn;
186  bool m_clusterArnHasBeenSet;
187 
188  int m_maxResults;
189  bool m_maxResultsHasBeenSet;
190 
191  Aws::String m_nextToken;
192  bool m_nextTokenHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Kafka
197 } // namespace Aws
Aws::Kafka::Model::ListScramSecretsRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: ListScramSecretsRequest.h:67
Aws::Kafka::Model::ListScramSecretsRequest
Definition: ListScramSecretsRequest.h:26
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Http::URI
Definition: URI.h:32
Aws::Kafka::Model::ListScramSecretsRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: ListScramSecretsRequest.h:74
Aws::Kafka::Model::ListScramSecretsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListScramSecretsRequest.h:117
Aws::Kafka::Model::ListScramSecretsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListScramSecretsRequest.h:132
Aws::Kafka::Model::ListScramSecretsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::ListScramSecretsRequest::WithNextToken
ListScramSecretsRequest & WithNextToken(Aws::String &&value)
Definition: ListScramSecretsRequest.h:174
Aws::Kafka::Model::ListScramSecretsRequest::ListScramSecretsRequest
ListScramSecretsRequest()
Aws::Kafka::Model::ListScramSecretsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListScramSecretsRequest.h:34
Aws::Kafka::Model::ListScramSecretsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Kafka::Model::ListScramSecretsRequest::WithClusterArn
ListScramSecretsRequest & WithClusterArn(const char *value)
Definition: ListScramSecretsRequest.h:95
Aws::Kafka::Model::ListScramSecretsRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: ListScramSecretsRequest.h:46
Aws::Kafka::Model::ListScramSecretsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListScramSecretsRequest.h:139
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListScramSecretsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListScramSecretsRequest.h:153
Aws::Kafka::Model::ListScramSecretsRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: ListScramSecretsRequest.h:53
Aws::Kafka::Model::ListScramSecretsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListScramSecretsRequest.h:146
Aws::Kafka::Model::ListScramSecretsRequest::WithClusterArn
ListScramSecretsRequest & WithClusterArn(const Aws::String &value)
Definition: ListScramSecretsRequest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListScramSecretsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListScramSecretsRequest.h:160
Aws::Kafka::Model::ListScramSecretsRequest::WithMaxResults
ListScramSecretsRequest & WithMaxResults(int value)
Definition: ListScramSecretsRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListScramSecretsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListScramSecretsRequest.h:110
Aws::Kafka::Model::ListScramSecretsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListScramSecretsRequest.h:103
Aws::Kafka::Model::ListScramSecretsRequest::WithClusterArn
ListScramSecretsRequest & WithClusterArn(Aws::String &&value)
Definition: ListScramSecretsRequest.h:88
Aws::Kafka::Model::ListScramSecretsRequest::WithNextToken
ListScramSecretsRequest & WithNextToken(const char *value)
Definition: ListScramSecretsRequest.h:181
Aws::Kafka::Model::ListScramSecretsRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: ListScramSecretsRequest.h:60
Aws::Kafka::Model::ListScramSecretsRequest::WithNextToken
ListScramSecretsRequest & WithNextToken(const Aws::String &value)
Definition: ListScramSecretsRequest.h:167