AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EnvironmentIdT = Aws::String>
49 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
50 template<typename EnvironmentIdT = Aws::String>
51 ListKxClustersRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
53
55
80 inline KxClusterType GetClusterType() const { return m_clusterType; }
81 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
82 inline void SetClusterType(KxClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
83 inline ListKxClustersRequest& WithClusterType(KxClusterType value) { SetClusterType(value); return *this;}
85
87
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline ListKxClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95
97
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 template<typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
104 template<typename NextTokenT = Aws::String>
105 ListKxClustersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
107 private:
108
109 Aws::String m_environmentId;
110 bool m_environmentIdHasBeenSet = false;
111
113 bool m_clusterTypeHasBeenSet = false;
114
115 int m_maxResults{0};
116 bool m_maxResultsHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace finspace
124} // namespace Aws
ListKxClustersRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_FINSPACE_API ListKxClustersRequest()=default
ListKxClustersRequest & WithClusterType(KxClusterType value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
ListKxClustersRequest & WithEnvironmentId(EnvironmentIdT &&value)
ListKxClustersRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String