AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateAddonRequest.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 "UpdateAddon"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
41 
45  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
46 
50  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
51 
55  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
56 
60  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
61 
65  inline UpdateAddonRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
66 
70  inline UpdateAddonRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
71 
75  inline UpdateAddonRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
76 
77 
83  inline const Aws::String& GetAddonName() const{ return m_addonName; }
84 
90  inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
91 
97  inline void SetAddonName(const Aws::String& value) { m_addonNameHasBeenSet = true; m_addonName = value; }
98 
104  inline void SetAddonName(Aws::String&& value) { m_addonNameHasBeenSet = true; m_addonName = std::move(value); }
105 
111  inline void SetAddonName(const char* value) { m_addonNameHasBeenSet = true; m_addonName.assign(value); }
112 
118  inline UpdateAddonRequest& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
119 
125  inline UpdateAddonRequest& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
126 
132  inline UpdateAddonRequest& WithAddonName(const char* value) { SetAddonName(value); return *this;}
133 
134 
141  inline const Aws::String& GetAddonVersion() const{ return m_addonVersion; }
142 
149  inline bool AddonVersionHasBeenSet() const { return m_addonVersionHasBeenSet; }
150 
157  inline void SetAddonVersion(const Aws::String& value) { m_addonVersionHasBeenSet = true; m_addonVersion = value; }
158 
165  inline void SetAddonVersion(Aws::String&& value) { m_addonVersionHasBeenSet = true; m_addonVersion = std::move(value); }
166 
173  inline void SetAddonVersion(const char* value) { m_addonVersionHasBeenSet = true; m_addonVersion.assign(value); }
174 
181  inline UpdateAddonRequest& WithAddonVersion(const Aws::String& value) { SetAddonVersion(value); return *this;}
182 
189  inline UpdateAddonRequest& WithAddonVersion(Aws::String&& value) { SetAddonVersion(std::move(value)); return *this;}
190 
197  inline UpdateAddonRequest& WithAddonVersion(const char* value) { SetAddonVersion(value); return *this;}
198 
199 
213  inline const Aws::String& GetServiceAccountRoleArn() const{ return m_serviceAccountRoleArn; }
214 
228  inline bool ServiceAccountRoleArnHasBeenSet() const { return m_serviceAccountRoleArnHasBeenSet; }
229 
243  inline void SetServiceAccountRoleArn(const Aws::String& value) { m_serviceAccountRoleArnHasBeenSet = true; m_serviceAccountRoleArn = value; }
244 
258  inline void SetServiceAccountRoleArn(Aws::String&& value) { m_serviceAccountRoleArnHasBeenSet = true; m_serviceAccountRoleArn = std::move(value); }
259 
273  inline void SetServiceAccountRoleArn(const char* value) { m_serviceAccountRoleArnHasBeenSet = true; m_serviceAccountRoleArn.assign(value); }
274 
288  inline UpdateAddonRequest& WithServiceAccountRoleArn(const Aws::String& value) { SetServiceAccountRoleArn(value); return *this;}
289 
303  inline UpdateAddonRequest& WithServiceAccountRoleArn(Aws::String&& value) { SetServiceAccountRoleArn(std::move(value)); return *this;}
304 
318  inline UpdateAddonRequest& WithServiceAccountRoleArn(const char* value) { SetServiceAccountRoleArn(value); return *this;}
319 
320 
325  inline const ResolveConflicts& GetResolveConflicts() const{ return m_resolveConflicts; }
326 
331  inline bool ResolveConflictsHasBeenSet() const { return m_resolveConflictsHasBeenSet; }
332 
337  inline void SetResolveConflicts(const ResolveConflicts& value) { m_resolveConflictsHasBeenSet = true; m_resolveConflicts = value; }
338 
343  inline void SetResolveConflicts(ResolveConflicts&& value) { m_resolveConflictsHasBeenSet = true; m_resolveConflicts = std::move(value); }
344 
349  inline UpdateAddonRequest& WithResolveConflicts(const ResolveConflicts& value) { SetResolveConflicts(value); return *this;}
350 
355  inline UpdateAddonRequest& WithResolveConflicts(ResolveConflicts&& value) { SetResolveConflicts(std::move(value)); return *this;}
356 
357 
362  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
363 
368  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
369 
374  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
375 
380  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
381 
386  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
387 
392  inline UpdateAddonRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
393 
398  inline UpdateAddonRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
399 
404  inline UpdateAddonRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
405 
406  private:
407 
408  Aws::String m_clusterName;
409  bool m_clusterNameHasBeenSet;
410 
411  Aws::String m_addonName;
412  bool m_addonNameHasBeenSet;
413 
414  Aws::String m_addonVersion;
415  bool m_addonVersionHasBeenSet;
416 
417  Aws::String m_serviceAccountRoleArn;
418  bool m_serviceAccountRoleArnHasBeenSet;
419 
420  ResolveConflicts m_resolveConflicts;
421  bool m_resolveConflictsHasBeenSet;
422 
423  Aws::String m_clientRequestToken;
424  bool m_clientRequestTokenHasBeenSet;
425  };
426 
427 } // namespace Model
428 } // namespace EKS
429 } // namespace Aws
Aws::EKS::Model::UpdateAddonRequest::WithAddonName
UpdateAddonRequest & WithAddonName(Aws::String &&value)
Definition: UpdateAddonRequest.h:125
Aws::EKS::Model::UpdateAddonRequest::AddonNameHasBeenSet
bool AddonNameHasBeenSet() const
Definition: UpdateAddonRequest.h:90
Aws::EKS::Model::UpdateAddonRequest::WithClusterName
UpdateAddonRequest & WithClusterName(Aws::String &&value)
Definition: UpdateAddonRequest.h:70
Aws::EKS::Model::UpdateAddonRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAddonRequest.h:32
Aws::EKS::Model::UpdateAddonRequest::UpdateAddonRequest
UpdateAddonRequest()
ResolveConflicts.h
Aws::EKS::Model::UpdateAddonRequest::WithClusterName
UpdateAddonRequest & WithClusterName(const Aws::String &value)
Definition: UpdateAddonRequest.h:65
Aws::EKS::Model::UpdateAddonRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: UpdateAddonRequest.h:362
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
Aws::EKS::Model::UpdateAddonRequest::SetServiceAccountRoleArn
void SetServiceAccountRoleArn(const char *value)
Definition: UpdateAddonRequest.h:273
Aws::EKS::Model::UpdateAddonRequest::WithAddonName
UpdateAddonRequest & WithAddonName(const char *value)
Definition: UpdateAddonRequest.h:132
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::UpdateAddonRequest::WithAddonVersion
UpdateAddonRequest & WithAddonVersion(const Aws::String &value)
Definition: UpdateAddonRequest.h:181
Aws::EKS::Model::UpdateAddonRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EKS::Model::UpdateAddonRequest::ServiceAccountRoleArnHasBeenSet
bool ServiceAccountRoleArnHasBeenSet() const
Definition: UpdateAddonRequest.h:228
Aws::EKS::Model::UpdateAddonRequest::SetServiceAccountRoleArn
void SetServiceAccountRoleArn(const Aws::String &value)
Definition: UpdateAddonRequest.h:243
Aws::EKS::Model::UpdateAddonRequest::WithClusterName
UpdateAddonRequest & WithClusterName(const char *value)
Definition: UpdateAddonRequest.h:75
Aws::EKS::Model::UpdateAddonRequest::SetAddonName
void SetAddonName(const Aws::String &value)
Definition: UpdateAddonRequest.h:97
Aws::EKS::Model::UpdateAddonRequest::GetServiceAccountRoleArn
const Aws::String & GetServiceAccountRoleArn() const
Definition: UpdateAddonRequest.h:213
Aws::EKS::Model::UpdateAddonRequest::ResolveConflictsHasBeenSet
bool ResolveConflictsHasBeenSet() const
Definition: UpdateAddonRequest.h:331
Aws::EKS::Model::UpdateAddonRequest::WithAddonVersion
UpdateAddonRequest & WithAddonVersion(Aws::String &&value)
Definition: UpdateAddonRequest.h:189
Aws::EKS::Model::UpdateAddonRequest::GetAddonVersion
const Aws::String & GetAddonVersion() const
Definition: UpdateAddonRequest.h:141
Aws::EKS::Model::UpdateAddonRequest::WithResolveConflicts
UpdateAddonRequest & WithResolveConflicts(ResolveConflicts &&value)
Definition: UpdateAddonRequest.h:355
Aws::EKS::Model::UpdateAddonRequest::SetAddonName
void SetAddonName(const char *value)
Definition: UpdateAddonRequest.h:111
Aws::EKS::Model::UpdateAddonRequest::SetServiceAccountRoleArn
void SetServiceAccountRoleArn(Aws::String &&value)
Definition: UpdateAddonRequest.h:258
Aws::EKS::Model::UpdateAddonRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: UpdateAddonRequest.h:374
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::UpdateAddonRequest::SetResolveConflicts
void SetResolveConflicts(const ResolveConflicts &value)
Definition: UpdateAddonRequest.h:337
Aws::EKS::Model::UpdateAddonRequest::WithResolveConflicts
UpdateAddonRequest & WithResolveConflicts(const ResolveConflicts &value)
Definition: UpdateAddonRequest.h:349
EKSRequest.h
AWSString.h
Aws::EKS::Model::UpdateAddonRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: UpdateAddonRequest.h:386
Aws::EKS::Model::UpdateAddonRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: UpdateAddonRequest.h:380
Aws::EKS::Model::UpdateAddonRequest::GetAddonName
const Aws::String & GetAddonName() const
Definition: UpdateAddonRequest.h:83
Aws::EKS::Model::UpdateAddonRequest::WithAddonName
UpdateAddonRequest & WithAddonName(const Aws::String &value)
Definition: UpdateAddonRequest.h:118
Aws::EKS::Model::UpdateAddonRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: UpdateAddonRequest.h:55
Aws::EKS::Model::UpdateAddonRequest::WithClientRequestToken
UpdateAddonRequest & WithClientRequestToken(const Aws::String &value)
Definition: UpdateAddonRequest.h:392
Aws::EKS::Model::UpdateAddonRequest::WithClientRequestToken
UpdateAddonRequest & WithClientRequestToken(const char *value)
Definition: UpdateAddonRequest.h:404
Aws::EKS::Model::UpdateAddonRequest::SetAddonVersion
void SetAddonVersion(const Aws::String &value)
Definition: UpdateAddonRequest.h:157
Aws::EKS::Model::UpdateAddonRequest::SetAddonName
void SetAddonName(Aws::String &&value)
Definition: UpdateAddonRequest.h:104
EKS_EXPORTS.h
Aws::EKS::Model::UpdateAddonRequest::WithAddonVersion
UpdateAddonRequest & WithAddonVersion(const char *value)
Definition: UpdateAddonRequest.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::EKS::Model::UpdateAddonRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: UpdateAddonRequest.h:50
Aws::EKS::Model::UpdateAddonRequest
Definition: UpdateAddonRequest.h:24
Aws::EKS::Model::UpdateAddonRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: UpdateAddonRequest.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EKS::Model::UpdateAddonRequest::SetResolveConflicts
void SetResolveConflicts(ResolveConflicts &&value)
Definition: UpdateAddonRequest.h:343
Aws::EKS::Model::UpdateAddonRequest::SetAddonVersion
void SetAddonVersion(Aws::String &&value)
Definition: UpdateAddonRequest.h:165
Aws::EKS::Model::UpdateAddonRequest::WithServiceAccountRoleArn
UpdateAddonRequest & WithServiceAccountRoleArn(Aws::String &&value)
Definition: UpdateAddonRequest.h:303
Aws::EKS::Model::UpdateAddonRequest::WithClientRequestToken
UpdateAddonRequest & WithClientRequestToken(Aws::String &&value)
Definition: UpdateAddonRequest.h:398
Aws::EKS::Model::ResolveConflicts
ResolveConflicts
Definition: ResolveConflicts.h:17
Aws::EKS::Model::UpdateAddonRequest::GetResolveConflicts
const ResolveConflicts & GetResolveConflicts() const
Definition: UpdateAddonRequest.h:325
Aws::EKS::Model::UpdateAddonRequest::WithServiceAccountRoleArn
UpdateAddonRequest & WithServiceAccountRoleArn(const char *value)
Definition: UpdateAddonRequest.h:318
UUID.h
Aws::EKS::Model::UpdateAddonRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: UpdateAddonRequest.h:368
Aws::EKS::Model::UpdateAddonRequest::AddonVersionHasBeenSet
bool AddonVersionHasBeenSet() const
Definition: UpdateAddonRequest.h:149
Aws::EKS::Model::UpdateAddonRequest::SetClusterName
void SetClusterName(const char *value)
Definition: UpdateAddonRequest.h:60
Aws::EKS::Model::UpdateAddonRequest::WithServiceAccountRoleArn
UpdateAddonRequest & WithServiceAccountRoleArn(const Aws::String &value)
Definition: UpdateAddonRequest.h:288
Aws::EKS::Model::UpdateAddonRequest::SetAddonVersion
void SetAddonVersion(const char *value)
Definition: UpdateAddonRequest.h:173
Aws::EKS::Model::UpdateAddonRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: UpdateAddonRequest.h:40