AWS SDK for C++  1.9.66
AWS SDK for C++
AssociateIdentityProviderConfigRequest.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>
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace EKS
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "AssociateIdentityProviderConfig"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
42 
46  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
47 
51  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
52 
56  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
57 
61  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
62 
66  inline AssociateIdentityProviderConfigRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
67 
71  inline AssociateIdentityProviderConfigRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
72 
76  inline AssociateIdentityProviderConfigRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
77 
78 
83  inline const OidcIdentityProviderConfigRequest& GetOidc() const{ return m_oidc; }
84 
89  inline bool OidcHasBeenSet() const { return m_oidcHasBeenSet; }
90 
95  inline void SetOidc(const OidcIdentityProviderConfigRequest& value) { m_oidcHasBeenSet = true; m_oidc = value; }
96 
101  inline void SetOidc(OidcIdentityProviderConfigRequest&& value) { m_oidcHasBeenSet = true; m_oidc = std::move(value); }
102 
107  inline AssociateIdentityProviderConfigRequest& WithOidc(const OidcIdentityProviderConfigRequest& value) { SetOidc(value); return *this;}
108 
113  inline AssociateIdentityProviderConfigRequest& WithOidc(OidcIdentityProviderConfigRequest&& value) { SetOidc(std::move(value)); return *this;}
114 
115 
121  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
122 
128  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 
135  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
136 
142  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 
149  inline AssociateIdentityProviderConfigRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
150 
156  inline AssociateIdentityProviderConfigRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
157 
163  inline AssociateIdentityProviderConfigRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
164 
170  inline AssociateIdentityProviderConfigRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
171 
177  inline AssociateIdentityProviderConfigRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
178 
184  inline AssociateIdentityProviderConfigRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
185 
191  inline AssociateIdentityProviderConfigRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
192 
198  inline AssociateIdentityProviderConfigRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
199 
205  inline AssociateIdentityProviderConfigRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
206 
207 
212  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
213 
218  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
219 
224  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
225 
230  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
231 
236  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
237 
242  inline AssociateIdentityProviderConfigRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
243 
248  inline AssociateIdentityProviderConfigRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
249 
254  inline AssociateIdentityProviderConfigRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
255 
256  private:
257 
258  Aws::String m_clusterName;
259  bool m_clusterNameHasBeenSet;
260 
262  bool m_oidcHasBeenSet;
263 
265  bool m_tagsHasBeenSet;
266 
267  Aws::String m_clientRequestToken;
268  bool m_clientRequestTokenHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace EKS
273 } // namespace Aws
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClusterName
AssociateIdentityProviderConfigRequest & WithClusterName(const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:66
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClusterName
AssociateIdentityProviderConfigRequest & WithClusterName(const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:76
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClientRequestToken
AssociateIdentityProviderConfigRequest & WithClientRequestToken(Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:248
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClientRequestToken
AssociateIdentityProviderConfigRequest & WithClientRequestToken(const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:254
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithOidc
AssociateIdentityProviderConfigRequest & WithOidc(const OidcIdentityProviderConfigRequest &value)
Definition: AssociateIdentityProviderConfigRequest.h:107
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AssociateIdentityProviderConfigRequest
AssociateIdentityProviderConfigRequest()
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithOidc
AssociateIdentityProviderConfigRequest & WithOidc(OidcIdentityProviderConfigRequest &&value)
Definition: AssociateIdentityProviderConfigRequest.h:113
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithTags
AssociateIdentityProviderConfigRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AssociateIdentityProviderConfigRequest.h:156
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:177
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClusterName
void SetClusterName(const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:61
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(Aws::String &&key, const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:198
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:236
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithTags
AssociateIdentityProviderConfigRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AssociateIdentityProviderConfigRequest.h:149
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: AssociateIdentityProviderConfigRequest.h:121
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClusterName
AssociateIdentityProviderConfigRequest & WithClusterName(Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:71
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:184
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:51
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetOidc
void SetOidc(OidcIdentityProviderConfigRequest &&value)
Definition: AssociateIdentityProviderConfigRequest.h:101
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: AssociateIdentityProviderConfigRequest.h:41
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AssociateIdentityProviderConfigRequest.h:135
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:170
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::WithClientRequestToken
AssociateIdentityProviderConfigRequest & WithClientRequestToken(const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:242
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(const char *key, const char *value)
Definition: AssociateIdentityProviderConfigRequest.h:205
EKSRequest.h
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: AssociateIdentityProviderConfigRequest.h:212
AWSString.h
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::GetOidc
const OidcIdentityProviderConfigRequest & GetOidc() const
Definition: AssociateIdentityProviderConfigRequest.h:83
Aws::EKS::Model::AssociateIdentityProviderConfigRequest
Definition: AssociateIdentityProviderConfigRequest.h:25
Aws::EKS::Model::OidcIdentityProviderConfigRequest
Definition: OidcIdentityProviderConfigRequest.h:38
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: AssociateIdentityProviderConfigRequest.h:128
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:56
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:163
EKS_EXPORTS.h
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: AssociateIdentityProviderConfigRequest.h:224
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateIdentityProviderConfigRequest.h:33
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::AssociateIdentityProviderConfigRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: AssociateIdentityProviderConfigRequest.h:46
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: AssociateIdentityProviderConfigRequest.h:218
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::OidcHasBeenSet
bool OidcHasBeenSet() const
Definition: AssociateIdentityProviderConfigRequest.h:89
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AssociateIdentityProviderConfigRequest.h:142
OidcIdentityProviderConfigRequest.h
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:230
UUID.h
AWSMap.h
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::AddTags
AssociateIdentityProviderConfigRequest & AddTags(const char *key, Aws::String &&value)
Definition: AssociateIdentityProviderConfigRequest.h:191
Aws::EKS::Model::AssociateIdentityProviderConfigRequest::SetOidc
void SetOidc(const OidcIdentityProviderConfigRequest &value)
Definition: AssociateIdentityProviderConfigRequest.h:95
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19