AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListKxClustersRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxClusterType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace finspace
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FINSPACE_API ListKxClustersRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListKxClusters"; }
36
37 AWS_FINSPACE_API Aws::String SerializePayload() const override;
38
39 AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
47 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
48 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
49 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
50 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
51 inline ListKxClustersRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
52 inline ListKxClustersRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
53 inline ListKxClustersRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
55
57
82 inline const KxClusterType& GetClusterType() const{ return m_clusterType; }
83 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
84 inline void SetClusterType(const KxClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
85 inline void SetClusterType(KxClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
86 inline ListKxClustersRequest& WithClusterType(const KxClusterType& value) { SetClusterType(value); return *this;}
87 inline ListKxClustersRequest& WithClusterType(KxClusterType&& value) { SetClusterType(std::move(value)); return *this;}
89
91
94 inline int GetMaxResults() const{ return m_maxResults; }
95 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 inline ListKxClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99
101
104 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
108 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
109 inline ListKxClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 inline ListKxClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
111 inline ListKxClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
113 private:
114
115 Aws::String m_environmentId;
116 bool m_environmentIdHasBeenSet = false;
117
118 KxClusterType m_clusterType;
119 bool m_clusterTypeHasBeenSet = false;
120
121 int m_maxResults;
122 bool m_maxResultsHasBeenSet = false;
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace finspace
130} // namespace Aws
ListKxClustersRequest & WithMaxResults(int value)
ListKxClustersRequest & WithEnvironmentId(const char *value)
ListKxClustersRequest & WithNextToken(const char *value)
void SetClusterType(const KxClusterType &value)
virtual const char * GetServiceRequestName() const override
ListKxClustersRequest & WithClusterType(KxClusterType &&value)
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListKxClustersRequest & WithClusterType(const KxClusterType &value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
void SetEnvironmentId(const Aws::String &value)
ListKxClustersRequest & WithEnvironmentId(Aws::String &&value)
ListKxClustersRequest & WithNextToken(const Aws::String &value)
ListKxClustersRequest & WithNextToken(Aws::String &&value)
ListKxClustersRequest & WithEnvironmentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String