AWS SDK for C++

AWS SDK for C++ Version 1.11.605

Loading...
Searching...
No Matches
AssociateIdentityProviderConfigRequest.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/model/OidcIdentityProviderConfigRequest.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace EKS
18{
19namespace 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_EKS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetClusterName() const { return m_clusterName; }
43 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
44 template<typename ClusterNameT = Aws::String>
45 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
46 template<typename ClusterNameT = Aws::String>
47 AssociateIdentityProviderConfigRequest& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
49
51
55 inline const OidcIdentityProviderConfigRequest& GetOidc() const { return m_oidc; }
56 inline bool OidcHasBeenSet() const { return m_oidcHasBeenSet; }
57 template<typename OidcT = OidcIdentityProviderConfigRequest>
58 void SetOidc(OidcT&& value) { m_oidcHasBeenSet = true; m_oidc = std::forward<OidcT>(value); }
59 template<typename OidcT = OidcIdentityProviderConfigRequest>
60 AssociateIdentityProviderConfigRequest& WithOidc(OidcT&& value) { SetOidc(std::forward<OidcT>(value)); return *this;}
62
64
69 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
70 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
71 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
72 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
73 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
74 AssociateIdentityProviderConfigRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
75 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
76 AssociateIdentityProviderConfigRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
77 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
78 }
80
82
86 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
87 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
88 template<typename ClientRequestTokenT = Aws::String>
89 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
90 template<typename ClientRequestTokenT = Aws::String>
91 AssociateIdentityProviderConfigRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
93 private:
94
95 Aws::String m_clusterName;
96 bool m_clusterNameHasBeenSet = false;
97
99 bool m_oidcHasBeenSet = false;
100
102 bool m_tagsHasBeenSet = false;
103
104 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
105 bool m_clientRequestTokenHasBeenSet = true;
106 };
107
108} // namespace Model
109} // namespace EKS
110} // namespace Aws
AssociateIdentityProviderConfigRequest & WithTags(TagsT &&value)
AWS_EKS_API Aws::String SerializePayload() const override
AssociateIdentityProviderConfigRequest & WithOidc(OidcT &&value)
AssociateIdentityProviderConfigRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AssociateIdentityProviderConfigRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AssociateIdentityProviderConfigRequest & WithClusterName(ClusterNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String