AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListClustersRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Kafka
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_KAFKA_API ListClustersRequest();
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 "ListClusters"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
38 AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
49 inline const Aws::String& GetClusterNameFilter() const{ return m_clusterNameFilter; }
50 inline bool ClusterNameFilterHasBeenSet() const { return m_clusterNameFilterHasBeenSet; }
51 inline void SetClusterNameFilter(const Aws::String& value) { m_clusterNameFilterHasBeenSet = true; m_clusterNameFilter = value; }
52 inline void SetClusterNameFilter(Aws::String&& value) { m_clusterNameFilterHasBeenSet = true; m_clusterNameFilter = std::move(value); }
53 inline void SetClusterNameFilter(const char* value) { m_clusterNameFilterHasBeenSet = true; m_clusterNameFilter.assign(value); }
54 inline ListClustersRequest& WithClusterNameFilter(const Aws::String& value) { SetClusterNameFilter(value); return *this;}
55 inline ListClustersRequest& WithClusterNameFilter(Aws::String&& value) { SetClusterNameFilter(std::move(value)); return *this;}
56 inline ListClustersRequest& WithClusterNameFilter(const char* value) { SetClusterNameFilter(value); return *this;}
58
60
67 inline int GetMaxResults() const{ return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
70 inline ListClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72
74
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline ListClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline ListClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline ListClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91 private:
92
93 Aws::String m_clusterNameFilter;
94 bool m_clusterNameFilterHasBeenSet = false;
95
96 int m_maxResults;
97 bool m_maxResultsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Kafka
105} // namespace Aws
ListClustersRequest & WithClusterNameFilter(const Aws::String &value)
const Aws::String & GetNextToken() const
ListClustersRequest & WithClusterNameFilter(Aws::String &&value)
ListClustersRequest & WithNextToken(Aws::String &&value)
ListClustersRequest & WithNextToken(const char *value)
void SetClusterNameFilter(const Aws::String &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListClustersRequest & WithClusterNameFilter(const char *value)
ListClustersRequest & WithMaxResults(int value)
void SetClusterNameFilter(Aws::String &&value)
ListClustersRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetClusterNameFilter() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String