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/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
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>
69 template<
typename PrincipalArnT = Aws::String>
70 void SetPrincipalArn(PrincipalArnT&& value) { m_principalArnHasBeenSet =
true; m_principalArn = std::forward<PrincipalArnT>(value); }
71 template<
typename PrincipalArnT = Aws::String>
100 template<
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
101 void SetKubernetesGroups(KubernetesGroupsT&& value) { m_kubernetesGroupsHasBeenSet =
true; m_kubernetesGroups = std::forward<KubernetesGroupsT>(value); }
102 template<
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
104 template<
typename KubernetesGroupsT = Aws::String>
116 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
118 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
122 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
133 template<
typename ClientRequestTokenT = Aws::String>
134 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
135 template<
typename ClientRequestTokenT = Aws::String>
150 template<
typename UsernameT = Aws::String>
151 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
152 template<
typename UsernameT = Aws::String>
178 template<
typename TypeT = Aws::String>
179 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
180 template<
typename TypeT = Aws::String>
186 bool m_clusterNameHasBeenSet =
false;
189 bool m_principalArnHasBeenSet =
false;
192 bool m_kubernetesGroupsHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
198 bool m_clientRequestTokenHasBeenSet =
true;
201 bool m_usernameHasBeenSet =
false;
204 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