AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeAddonVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/eks/EKS_EXPORTS.h>
8 #include <aws/eks/EKSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace EKS
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "DescribeAddonVersions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetKubernetesVersion() const{ return m_kubernetesVersion; }
45 
49  inline bool KubernetesVersionHasBeenSet() const { return m_kubernetesVersionHasBeenSet; }
50 
54  inline void SetKubernetesVersion(const Aws::String& value) { m_kubernetesVersionHasBeenSet = true; m_kubernetesVersion = value; }
55 
59  inline void SetKubernetesVersion(Aws::String&& value) { m_kubernetesVersionHasBeenSet = true; m_kubernetesVersion = std::move(value); }
60 
64  inline void SetKubernetesVersion(const char* value) { m_kubernetesVersionHasBeenSet = true; m_kubernetesVersion.assign(value); }
65 
69  inline DescribeAddonVersionsRequest& WithKubernetesVersion(const Aws::String& value) { SetKubernetesVersion(value); return *this;}
70 
74  inline DescribeAddonVersionsRequest& WithKubernetesVersion(Aws::String&& value) { SetKubernetesVersion(std::move(value)); return *this;}
75 
79  inline DescribeAddonVersionsRequest& WithKubernetesVersion(const char* value) { SetKubernetesVersion(value); return *this;}
80 
81 
85  inline int GetMaxResults() const{ return m_maxResults; }
86 
90  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
95  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 
100  inline DescribeAddonVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 
102 
112  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 
123  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
124 
134  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
135 
145  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
146 
156  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
157 
167  inline DescribeAddonVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
168 
178  inline DescribeAddonVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
179 
189  inline DescribeAddonVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
190 
191 
197  inline const Aws::String& GetAddonName() const{ return m_addonName; }
198 
204  inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
205 
211  inline void SetAddonName(const Aws::String& value) { m_addonNameHasBeenSet = true; m_addonName = value; }
212 
218  inline void SetAddonName(Aws::String&& value) { m_addonNameHasBeenSet = true; m_addonName = std::move(value); }
219 
225  inline void SetAddonName(const char* value) { m_addonNameHasBeenSet = true; m_addonName.assign(value); }
226 
232  inline DescribeAddonVersionsRequest& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
233 
239  inline DescribeAddonVersionsRequest& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
240 
246  inline DescribeAddonVersionsRequest& WithAddonName(const char* value) { SetAddonName(value); return *this;}
247 
248  private:
249 
250  Aws::String m_kubernetesVersion;
251  bool m_kubernetesVersionHasBeenSet;
252 
253  int m_maxResults;
254  bool m_maxResultsHasBeenSet;
255 
256  Aws::String m_nextToken;
257  bool m_nextTokenHasBeenSet;
258 
259  Aws::String m_addonName;
260  bool m_addonNameHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace EKS
265 } // namespace Aws
Aws::EKS::Model::DescribeAddonVersionsRequest::WithAddonName
DescribeAddonVersionsRequest & WithAddonName(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:239
Aws::EKS::Model::DescribeAddonVersionsRequest::WithAddonName
DescribeAddonVersionsRequest & WithAddonName(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:232
Aws::Http::URI
Definition: URI.h:32
Aws::EKS::Model::DescribeAddonVersionsRequest::WithMaxResults
DescribeAddonVersionsRequest & WithMaxResults(int value)
Definition: DescribeAddonVersionsRequest.h:100
Aws::EKS::Model::DescribeAddonVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeAddonVersionsRequest.h:123
Aws::EKS::Model::DescribeAddonVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeAddonVersionsRequest.h:112
Aws::EKS::Model::DescribeAddonVersionsRequest::SetAddonName
void SetAddonName(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:211
Aws::EKS::Model::DescribeAddonVersionsRequest::SetKubernetesVersion
void SetKubernetesVersion(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:59
Aws::EKS::Model::DescribeAddonVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:145
Aws::EKS::Model::DescribeAddonVersionsRequest::SetAddonName
void SetAddonName(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:218
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
Aws::EKS::Model::DescribeAddonVersionsRequest::KubernetesVersionHasBeenSet
bool KubernetesVersionHasBeenSet() const
Definition: DescribeAddonVersionsRequest.h:49
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::DescribeAddonVersionsRequest::SetAddonName
void SetAddonName(const char *value)
Definition: DescribeAddonVersionsRequest.h:225
Aws::EKS::Model::DescribeAddonVersionsRequest::DescribeAddonVersionsRequest
DescribeAddonVersionsRequest()
Aws::EKS::Model::DescribeAddonVersionsRequest::SetKubernetesVersion
void SetKubernetesVersion(const char *value)
Definition: DescribeAddonVersionsRequest.h:64
Aws::EKS::Model::DescribeAddonVersionsRequest::WithKubernetesVersion
DescribeAddonVersionsRequest & WithKubernetesVersion(const char *value)
Definition: DescribeAddonVersionsRequest.h:79
Aws::EKS::Model::DescribeAddonVersionsRequest::WithAddonName
DescribeAddonVersionsRequest & WithAddonName(const char *value)
Definition: DescribeAddonVersionsRequest.h:246
Aws::EKS::Model::DescribeAddonVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeAddonVersionsRequest.h:95
Aws::EKS::Model::DescribeAddonVersionsRequest
Definition: DescribeAddonVersionsRequest.h:26
Aws::EKS::Model::DescribeAddonVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::DescribeAddonVersionsRequest::GetAddonName
const Aws::String & GetAddonName() const
Definition: DescribeAddonVersionsRequest.h:197
Aws::EKS::Model::DescribeAddonVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:134
EKSRequest.h
AWSString.h
Aws::EKS::Model::DescribeAddonVersionsRequest::AddonNameHasBeenSet
bool AddonNameHasBeenSet() const
Definition: DescribeAddonVersionsRequest.h:204
Aws::EKS::Model::DescribeAddonVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeAddonVersionsRequest.h:156
Aws::EKS::Model::DescribeAddonVersionsRequest::SetKubernetesVersion
void SetKubernetesVersion(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:54
EKS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::EKS::Model::DescribeAddonVersionsRequest::WithNextToken
DescribeAddonVersionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:178
Aws::EKS::Model::DescribeAddonVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeAddonVersionsRequest.h:90
Aws::EKS::Model::DescribeAddonVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeAddonVersionsRequest.h:85
Aws::EKS::Model::DescribeAddonVersionsRequest::WithNextToken
DescribeAddonVersionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EKS::Model::DescribeAddonVersionsRequest::WithKubernetesVersion
DescribeAddonVersionsRequest & WithKubernetesVersion(const Aws::String &value)
Definition: DescribeAddonVersionsRequest.h:69
Aws::EKS::Model::DescribeAddonVersionsRequest::WithKubernetesVersion
DescribeAddonVersionsRequest & WithKubernetesVersion(Aws::String &&value)
Definition: DescribeAddonVersionsRequest.h:74
Aws::EKS::Model::DescribeAddonVersionsRequest::GetKubernetesVersion
const Aws::String & GetKubernetesVersion() const
Definition: DescribeAddonVersionsRequest.h:44
Aws::EKS::Model::DescribeAddonVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::EKS::Model::DescribeAddonVersionsRequest::WithNextToken
DescribeAddonVersionsRequest & WithNextToken(const char *value)
Definition: DescribeAddonVersionsRequest.h:189
Aws::EKS::Model::DescribeAddonVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAddonVersionsRequest.h:34