AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListClustersV2Request.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 ListClustersV2Request();
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 "ListClustersV2"; }
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 ListClustersV2Request& WithClusterNameFilter(const Aws::String& value) { SetClusterNameFilter(value); return *this;}
55 inline ListClustersV2Request& WithClusterNameFilter(Aws::String&& value) { SetClusterNameFilter(std::move(value)); return *this;}
56 inline ListClustersV2Request& WithClusterNameFilter(const char* value) { SetClusterNameFilter(value); return *this;}
58
60
65 inline const Aws::String& GetClusterTypeFilter() const{ return m_clusterTypeFilter; }
66 inline bool ClusterTypeFilterHasBeenSet() const { return m_clusterTypeFilterHasBeenSet; }
67 inline void SetClusterTypeFilter(const Aws::String& value) { m_clusterTypeFilterHasBeenSet = true; m_clusterTypeFilter = value; }
68 inline void SetClusterTypeFilter(Aws::String&& value) { m_clusterTypeFilterHasBeenSet = true; m_clusterTypeFilter = std::move(value); }
69 inline void SetClusterTypeFilter(const char* value) { m_clusterTypeFilterHasBeenSet = true; m_clusterTypeFilter.assign(value); }
70 inline ListClustersV2Request& WithClusterTypeFilter(const Aws::String& value) { SetClusterTypeFilter(value); return *this;}
71 inline ListClustersV2Request& WithClusterTypeFilter(Aws::String&& value) { SetClusterTypeFilter(std::move(value)); return *this;}
72 inline ListClustersV2Request& WithClusterTypeFilter(const char* value) { SetClusterTypeFilter(value); return *this;}
74
76
83 inline int GetMaxResults() const{ return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListClustersV2Request& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
103 inline ListClustersV2Request& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 inline ListClustersV2Request& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline ListClustersV2Request& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 private:
108
109 Aws::String m_clusterNameFilter;
110 bool m_clusterNameFilterHasBeenSet = false;
111
112 Aws::String m_clusterTypeFilter;
113 bool m_clusterTypeFilterHasBeenSet = false;
114
115 int m_maxResults;
116 bool m_maxResultsHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Kafka
124} // namespace Aws
ListClustersV2Request & WithNextToken(const Aws::String &value)
ListClustersV2Request & WithNextToken(Aws::String &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
const Aws::String & GetClusterTypeFilter() const
ListClustersV2Request & WithClusterTypeFilter(const Aws::String &value)
AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetClusterNameFilter() const
ListClustersV2Request & WithClusterTypeFilter(const char *value)
ListClustersV2Request & WithClusterNameFilter(const char *value)
void SetNextToken(const Aws::String &value)
ListClustersV2Request & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListClustersV2Request & WithClusterTypeFilter(Aws::String &&value)
void SetClusterTypeFilter(const Aws::String &value)
ListClustersV2Request & WithClusterNameFilter(const Aws::String &value)
ListClustersV2Request & WithMaxResults(int value)
ListClustersV2Request & WithClusterNameFilter(Aws::String &&value)
void SetClusterNameFilter(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String