AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssociateIdentityProviderConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/EKSRequest.h>
11#include <aws/eks/EKS_EXPORTS.h>
12#include <aws/eks/model/OidcIdentityProviderConfigRequest.h>
13
14#include <utility>
15
16namespace Aws {
17namespace EKS {
18namespace Model {
19
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "AssociateIdentityProviderConfig"; }
31
32 AWS_EKS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetClusterName() const { return m_clusterName; }
39 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
40 template <typename ClusterNameT = Aws::String>
41 void SetClusterName(ClusterNameT&& value) {
42 m_clusterNameHasBeenSet = true;
43 m_clusterName = std::forward<ClusterNameT>(value);
44 }
45 template <typename ClusterNameT = Aws::String>
47 SetClusterName(std::forward<ClusterNameT>(value));
48 return *this;
49 }
51
53
57 inline const OidcIdentityProviderConfigRequest& GetOidc() const { return m_oidc; }
58 inline bool OidcHasBeenSet() const { return m_oidcHasBeenSet; }
59 template <typename OidcT = OidcIdentityProviderConfigRequest>
60 void SetOidc(OidcT&& value) {
61 m_oidcHasBeenSet = true;
62 m_oidc = std::forward<OidcT>(value);
63 }
64 template <typename OidcT = OidcIdentityProviderConfigRequest>
66 SetOidc(std::forward<OidcT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
78 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
79 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 void SetTags(TagsT&& value) {
81 m_tagsHasBeenSet = true;
82 m_tags = std::forward<TagsT>(value);
83 }
84 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 SetTags(std::forward<TagsT>(value));
87 return *this;
88 }
89 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
90 AssociateIdentityProviderConfigRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
91 m_tagsHasBeenSet = true;
92 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
93 return *this;
94 }
96
98
102 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
103 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
104 template <typename ClientRequestTokenT = Aws::String>
105 void SetClientRequestToken(ClientRequestTokenT&& value) {
106 m_clientRequestTokenHasBeenSet = true;
107 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
108 }
109 template <typename ClientRequestTokenT = Aws::String>
111 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_clusterName;
117
119
121
122 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
123 bool m_clusterNameHasBeenSet = false;
124 bool m_oidcHasBeenSet = false;
125 bool m_tagsHasBeenSet = false;
126 bool m_clientRequestTokenHasBeenSet = true;
127};
128
129} // namespace Model
130} // namespace EKS
131} // 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