AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListClustersRequest.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace EKS
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_EKS_API ListClustersRequest() = 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 "ListClusters"; }
36
37 AWS_EKS_API Aws::String SerializePayload() const override;
38
39 AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
51 inline int GetMaxResults() const { return m_maxResults; }
52 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
53 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
54 inline ListClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
56
58
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListClustersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
83 inline const Aws::Vector<Aws::String>& GetInclude() const { return m_include; }
84 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
85 template<typename IncludeT = Aws::Vector<Aws::String>>
86 void SetInclude(IncludeT&& value) { m_includeHasBeenSet = true; m_include = std::forward<IncludeT>(value); }
87 template<typename IncludeT = Aws::Vector<Aws::String>>
88 ListClustersRequest& WithInclude(IncludeT&& value) { SetInclude(std::forward<IncludeT>(value)); return *this;}
89 template<typename IncludeT = Aws::String>
90 ListClustersRequest& AddInclude(IncludeT&& value) { m_includeHasBeenSet = true; m_include.emplace_back(std::forward<IncludeT>(value)); return *this; }
92 private:
93
94 int m_maxResults{0};
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_include;
101 bool m_includeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EKS
106} // namespace Aws
AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetInclude() const
ListClustersRequest & WithInclude(IncludeT &&value)
ListClustersRequest & AddInclude(IncludeT &&value)
ListClustersRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_EKS_API Aws::String SerializePayload() const override
AWS_EKS_API ListClustersRequest()=default
ListClustersRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector