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/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKSRequest.h>
12#include <aws/eks/EKS_EXPORTS.h>
40 template <
typename ClusterNameT = Aws::String>
42 m_clusterNameHasBeenSet =
true;
43 m_clusterName = std::forward<ClusterNameT>(value);
45 template <
typename ClusterNameT = Aws::String>
71 template <
typename PrincipalArnT = Aws::String>
73 m_principalArnHasBeenSet =
true;
74 m_principalArn = std::forward<PrincipalArnT>(value);
76 template <
typename PrincipalArnT = Aws::String>
108 template <
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
110 m_kubernetesGroupsHasBeenSet =
true;
111 m_kubernetesGroups = std::forward<KubernetesGroupsT>(value);
113 template <
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
118 template <
typename KubernetesGroupsT = Aws::String>
120 m_kubernetesGroupsHasBeenSet =
true;
121 m_kubernetesGroups.emplace_back(std::forward<KubernetesGroupsT>(value));
134 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
159 template <
typename ClientRequestTokenT = Aws::String>
161 m_clientRequestTokenHasBeenSet =
true;
162 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
164 template <
typename ClientRequestTokenT = Aws::String>
182 template <
typename UsernameT = Aws::String>
184 m_usernameHasBeenSet =
true;
185 m_username = std::forward<UsernameT>(value);
187 template <
typename UsernameT = Aws::String>
216 template <
typename TypeT = Aws::String>
218 m_typeHasBeenSet =
true;
219 m_type = std::forward<TypeT>(value);
221 template <
typename TypeT = Aws::String>
223 SetType(std::forward<TypeT>(value));
241 bool m_clusterNameHasBeenSet =
false;
242 bool m_principalArnHasBeenSet =
false;
243 bool m_kubernetesGroupsHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
245 bool m_clientRequestTokenHasBeenSet =
true;
246 bool m_usernameHasBeenSet =
false;
247 bool m_typeHasBeenSet =
false;
CreateAccessEntryRequest & AddKubernetesGroups(KubernetesGroupsT &&value)
bool ClusterNameHasBeenSet() const
const Aws::String & GetClusterName() const
virtual const char * GetServiceRequestName() const override
CreateAccessEntryRequest & WithPrincipalArn(PrincipalArnT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetClientRequestToken() const
AWS_EKS_API CreateAccessEntryRequest()=default
const Aws::String & GetType() const
CreateAccessEntryRequest & WithClusterName(ClusterNameT &&value)
bool TypeHasBeenSet() const
void SetClusterName(ClusterNameT &&value)
CreateAccessEntryRequest & WithUsername(UsernameT &&value)
void SetPrincipalArn(PrincipalArnT &&value)
void SetType(TypeT &&value)
const Aws::String & GetPrincipalArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAccessEntryRequest & WithTags(TagsT &&value)
CreateAccessEntryRequest & WithKubernetesGroups(KubernetesGroupsT &&value)
bool KubernetesGroupsHasBeenSet() const
void SetKubernetesGroups(KubernetesGroupsT &&value)
bool PrincipalArnHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetUsername() const
const Aws::Vector< Aws::String > & GetKubernetesGroups() const
bool UsernameHasBeenSet() const
bool TagsHasBeenSet() const
CreateAccessEntryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ClientRequestTokenHasBeenSet() const
CreateAccessEntryRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateAccessEntryRequest & WithType(TypeT &&value)
void SetUsername(UsernameT &&value)
AWS_EKS_API Aws::String SerializePayload() const override
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
std::vector< T, Aws::Allocator< T > > Vector