AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListCapabilitiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/eks/EKS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace EKS {
18namespace Model {
19
23 public:
24 AWS_EKS_API ListCapabilitiesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListCapabilities"; }
31
32 AWS_EKS_API Aws::String SerializePayload() const override;
33
34 AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetClusterName() const { return m_clusterName; }
42 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
43 template <typename ClusterNameT = Aws::String>
44 void SetClusterName(ClusterNameT&& value) {
45 m_clusterNameHasBeenSet = true;
46 m_clusterName = std::forward<ClusterNameT>(value);
47 }
48 template <typename ClusterNameT = Aws::String>
50 SetClusterName(std::forward<ClusterNameT>(value));
51 return *this;
52 }
54
56
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
90 SetMaxResults(value);
91 return *this;
92 }
94 private:
95 Aws::String m_clusterName;
96
97 Aws::String m_nextToken;
98
99 int m_maxResults{0};
100 bool m_clusterNameHasBeenSet = false;
101 bool m_nextTokenHasBeenSet = false;
102 bool m_maxResultsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace EKS
107} // namespace Aws
AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListCapabilitiesRequest & WithClusterName(ClusterNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EKS_API ListCapabilitiesRequest()=default
AWS_EKS_API Aws::String SerializePayload() const override
ListCapabilitiesRequest & WithNextToken(NextTokenT &&value)
ListCapabilitiesRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String