AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateNodegroupVersionRequest.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>
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace EKS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateNodegroupVersion"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
42 
47  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
48 
53  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
54 
59  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
60 
65  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
66 
71  inline UpdateNodegroupVersionRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
72 
77  inline UpdateNodegroupVersionRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
78 
83  inline UpdateNodegroupVersionRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
84 
85 
89  inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; }
90 
94  inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
95 
99  inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; }
100 
104  inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); }
105 
109  inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); }
110 
114  inline UpdateNodegroupVersionRequest& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;}
115 
119  inline UpdateNodegroupVersionRequest& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;}
120 
124  inline UpdateNodegroupVersionRequest& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;}
125 
126 
138  inline const Aws::String& GetVersion() const{ return m_version; }
139 
151  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
152 
164  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
165 
177  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
178 
190  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
191 
203  inline UpdateNodegroupVersionRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
204 
216  inline UpdateNodegroupVersionRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
217 
229  inline UpdateNodegroupVersionRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
230 
231 
245  inline const Aws::String& GetReleaseVersion() const{ return m_releaseVersion; }
246 
260  inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
261 
275  inline void SetReleaseVersion(const Aws::String& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = value; }
276 
290  inline void SetReleaseVersion(Aws::String&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::move(value); }
291 
305  inline void SetReleaseVersion(const char* value) { m_releaseVersionHasBeenSet = true; m_releaseVersion.assign(value); }
306 
320  inline UpdateNodegroupVersionRequest& WithReleaseVersion(const Aws::String& value) { SetReleaseVersion(value); return *this;}
321 
335  inline UpdateNodegroupVersionRequest& WithReleaseVersion(Aws::String&& value) { SetReleaseVersion(std::move(value)); return *this;}
336 
350  inline UpdateNodegroupVersionRequest& WithReleaseVersion(const char* value) { SetReleaseVersion(value); return *this;}
351 
352 
358  inline const LaunchTemplateSpecification& GetLaunchTemplate() const{ return m_launchTemplate; }
359 
365  inline bool LaunchTemplateHasBeenSet() const { return m_launchTemplateHasBeenSet; }
366 
372  inline void SetLaunchTemplate(const LaunchTemplateSpecification& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = value; }
373 
379  inline void SetLaunchTemplate(LaunchTemplateSpecification&& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = std::move(value); }
380 
386  inline UpdateNodegroupVersionRequest& WithLaunchTemplate(const LaunchTemplateSpecification& value) { SetLaunchTemplate(value); return *this;}
387 
393  inline UpdateNodegroupVersionRequest& WithLaunchTemplate(LaunchTemplateSpecification&& value) { SetLaunchTemplate(std::move(value)); return *this;}
394 
395 
402  inline bool GetForce() const{ return m_force; }
403 
410  inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
411 
418  inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
419 
426  inline UpdateNodegroupVersionRequest& WithForce(bool value) { SetForce(value); return *this;}
427 
428 
433  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
434 
439  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
440 
445  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
446 
451  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
452 
457  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
458 
463  inline UpdateNodegroupVersionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
464 
469  inline UpdateNodegroupVersionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
470 
475  inline UpdateNodegroupVersionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
476 
477  private:
478 
479  Aws::String m_clusterName;
480  bool m_clusterNameHasBeenSet;
481 
482  Aws::String m_nodegroupName;
483  bool m_nodegroupNameHasBeenSet;
484 
485  Aws::String m_version;
486  bool m_versionHasBeenSet;
487 
488  Aws::String m_releaseVersion;
489  bool m_releaseVersionHasBeenSet;
490 
491  LaunchTemplateSpecification m_launchTemplate;
492  bool m_launchTemplateHasBeenSet;
493 
494  bool m_force;
495  bool m_forceHasBeenSet;
496 
497  Aws::String m_clientRequestToken;
498  bool m_clientRequestTokenHasBeenSet;
499  };
500 
501 } // namespace Model
502 } // namespace EKS
503 } // namespace Aws
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithLaunchTemplate
UpdateNodegroupVersionRequest & WithLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: UpdateNodegroupVersionRequest.h:386
Aws::EKS::Model::UpdateNodegroupVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClusterName
UpdateNodegroupVersionRequest & WithClusterName(const char *value)
Definition: UpdateNodegroupVersionRequest.h:83
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetNodegroupName
const Aws::String & GetNodegroupName() const
Definition: UpdateNodegroupVersionRequest.h:89
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClientRequestToken
UpdateNodegroupVersionRequest & WithClientRequestToken(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:463
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetVersion
void SetVersion(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:177
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetNodegroupName
void SetNodegroupName(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:104
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithReleaseVersion
UpdateNodegroupVersionRequest & WithReleaseVersion(const char *value)
Definition: UpdateNodegroupVersionRequest.h:350
Aws::EKS::Model::UpdateNodegroupVersionRequest
Definition: UpdateNodegroupVersionRequest.h:24
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:445
Aws::EKS::Model::LaunchTemplateSpecification
Definition: LaunchTemplateSpecification.h:51
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithNodegroupName
UpdateNodegroupVersionRequest & WithNodegroupName(const char *value)
Definition: UpdateNodegroupVersionRequest.h:124
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetReleaseVersion
void SetReleaseVersion(const char *value)
Definition: UpdateNodegroupVersionRequest.h:305
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetVersion
void SetVersion(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:164
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithNodegroupName
UpdateNodegroupVersionRequest & WithNodegroupName(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:119
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithLaunchTemplate
UpdateNodegroupVersionRequest & WithLaunchTemplate(LaunchTemplateSpecification &&value)
Definition: UpdateNodegroupVersionRequest.h:393
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClusterName
void SetClusterName(const char *value)
Definition: UpdateNodegroupVersionRequest.h:65
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithNodegroupName
UpdateNodegroupVersionRequest & WithNodegroupName(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:114
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClientRequestToken
UpdateNodegroupVersionRequest & WithClientRequestToken(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:469
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClusterName
UpdateNodegroupVersionRequest & WithClusterName(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:77
Aws::EKS::Model::UpdateNodegroupVersionRequest::ForceHasBeenSet
bool ForceHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:410
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetNodegroupName
void SetNodegroupName(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:99
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateNodegroupVersionRequest.h:32
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetLaunchTemplate
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: UpdateNodegroupVersionRequest.h:372
Aws::EKS::Model::UpdateNodegroupVersionRequest::LaunchTemplateHasBeenSet
bool LaunchTemplateHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:365
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetNodegroupName
void SetNodegroupName(const char *value)
Definition: UpdateNodegroupVersionRequest.h:109
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: UpdateNodegroupVersionRequest.h:457
Aws::EKS::Model::UpdateNodegroupVersionRequest::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:151
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: UpdateNodegroupVersionRequest.h:433
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::UpdateNodegroupVersionRequest::UpdateNodegroupVersionRequest
UpdateNodegroupVersionRequest()
LaunchTemplateSpecification.h
EKSRequest.h
AWSString.h
Aws::EKS::Model::UpdateNodegroupVersionRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:47
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithVersion
UpdateNodegroupVersionRequest & WithVersion(const char *value)
Definition: UpdateNodegroupVersionRequest.h:229
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetVersion
void SetVersion(const char *value)
Definition: UpdateNodegroupVersionRequest.h:190
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:451
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithReleaseVersion
UpdateNodegroupVersionRequest & WithReleaseVersion(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:335
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetReleaseVersion
void SetReleaseVersion(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:275
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetForce
bool GetForce() const
Definition: UpdateNodegroupVersionRequest.h:402
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:59
Aws::EKS::Model::UpdateNodegroupVersionRequest::NodegroupNameHasBeenSet
bool NodegroupNameHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:94
Aws::EKS::Model::UpdateNodegroupVersionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:439
EKS_EXPORTS.h
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClusterName
UpdateNodegroupVersionRequest & WithClusterName(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:71
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithReleaseVersion
UpdateNodegroupVersionRequest & WithReleaseVersion(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:320
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetLaunchTemplate
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
Definition: UpdateNodegroupVersionRequest.h:379
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetForce
void SetForce(bool value)
Definition: UpdateNodegroupVersionRequest.h:418
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithVersion
UpdateNodegroupVersionRequest & WithVersion(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:216
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:53
UUID.h
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetReleaseVersion
const Aws::String & GetReleaseVersion() const
Definition: UpdateNodegroupVersionRequest.h:245
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: UpdateNodegroupVersionRequest.h:41
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithForce
UpdateNodegroupVersionRequest & WithForce(bool value)
Definition: UpdateNodegroupVersionRequest.h:426
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithClientRequestToken
UpdateNodegroupVersionRequest & WithClientRequestToken(const char *value)
Definition: UpdateNodegroupVersionRequest.h:475
Aws::EKS::Model::UpdateNodegroupVersionRequest::ReleaseVersionHasBeenSet
bool ReleaseVersionHasBeenSet() const
Definition: UpdateNodegroupVersionRequest.h:260
Aws::EKS::Model::UpdateNodegroupVersionRequest::SetReleaseVersion
void SetReleaseVersion(Aws::String &&value)
Definition: UpdateNodegroupVersionRequest.h:290
Aws::EKS::Model::UpdateNodegroupVersionRequest::WithVersion
UpdateNodegroupVersionRequest & WithVersion(const Aws::String &value)
Definition: UpdateNodegroupVersionRequest.h:203
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetLaunchTemplate
const LaunchTemplateSpecification & GetLaunchTemplate() const
Definition: UpdateNodegroupVersionRequest.h:358
Aws::EKS::Model::UpdateNodegroupVersionRequest::GetVersion
const Aws::String & GetVersion() const
Definition: UpdateNodegroupVersionRequest.h:138