7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
54 template<
typename ClusterNameT = Aws::String>
55 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
56 template<
typename ClusterNameT = Aws::String>
76 template<
typename PrincipalArnT = Aws::String>
77 void SetPrincipalArn(PrincipalArnT&& value) { m_principalArnHasBeenSet =
true; m_principalArn = std::forward<PrincipalArnT>(value); }
78 template<
typename PrincipalArnT = Aws::String>
91 template<
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
92 void SetKubernetesGroups(KubernetesGroupsT&& value) { m_kubernetesGroupsHasBeenSet =
true; m_kubernetesGroups = std::forward<KubernetesGroupsT>(value); }
93 template<
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
95 template<
typename KubernetesGroupsT = Aws::String>
96 AccessEntry&
AddKubernetesGroups(KubernetesGroupsT&& value) { m_kubernetesGroupsHasBeenSet =
true; m_kubernetesGroups.emplace_back(std::forward<KubernetesGroupsT>(value));
return *
this; }
105 template<
typename AccessEntryArnT = Aws::String>
106 void SetAccessEntryArn(AccessEntryArnT&& value) { m_accessEntryArnHasBeenSet =
true; m_accessEntryArn = std::forward<AccessEntryArnT>(value); }
107 template<
typename AccessEntryArnT = Aws::String>
117 template<
typename CreatedAtT = Aws::Utils::DateTime>
118 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
119 template<
typename CreatedAtT = Aws::Utils::DateTime>
129 template<
typename ModifiedAtT = Aws::Utils::DateTime>
130 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
131 template<
typename ModifiedAtT = Aws::Utils::DateTime>
143 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
149 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
159 template<
typename UsernameT = Aws::String>
160 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
161 template<
typename UsernameT = Aws::String>
171 template<
typename TypeT = Aws::String>
172 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
173 template<
typename TypeT = Aws::String>
179 bool m_clusterNameHasBeenSet =
false;
182 bool m_principalArnHasBeenSet =
false;
185 bool m_kubernetesGroupsHasBeenSet =
false;
188 bool m_accessEntryArnHasBeenSet =
false;
191 bool m_createdAtHasBeenSet =
false;
194 bool m_modifiedAtHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
200 bool m_usernameHasBeenSet =
false;
203 bool m_typeHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
AccessEntry & WithType(TypeT &&value)
AWS_EKS_API AccessEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API AccessEntry()=default
void SetAccessEntryArn(AccessEntryArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetUsername() const
const Aws::Utils::DateTime & GetModifiedAt() const
bool AccessEntryArnHasBeenSet() const
AccessEntry & WithPrincipalArn(PrincipalArnT &&value)
void SetModifiedAt(ModifiedAtT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AccessEntry & AddKubernetesGroups(KubernetesGroupsT &&value)
AWS_EKS_API AccessEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
const Aws::String & GetClusterName() const
bool ModifiedAtHasBeenSet() const
bool PrincipalArnHasBeenSet() const
void SetTags(TagsT &&value)
bool TypeHasBeenSet() const
bool ClusterNameHasBeenSet() const
const Aws::String & GetAccessEntryArn() const
AccessEntry & WithModifiedAt(ModifiedAtT &&value)
AccessEntry & AddTags(TagsKeyT &&key, TagsValueT &&value)
AccessEntry & WithClusterName(ClusterNameT &&value)
AccessEntry & WithKubernetesGroups(KubernetesGroupsT &&value)
void SetClusterName(ClusterNameT &&value)
bool UsernameHasBeenSet() const
void SetUsername(UsernameT &&value)
const Aws::String & GetPrincipalArn() const
AccessEntry & WithUsername(UsernameT &&value)
void SetType(TypeT &&value)
const Aws::Vector< Aws::String > & GetKubernetesGroups() const
AccessEntry & WithAccessEntryArn(AccessEntryArnT &&value)
AccessEntry & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetType() const
void SetKubernetesGroups(KubernetesGroupsT &&value)
bool KubernetesGroupsHasBeenSet() const
void SetPrincipalArn(PrincipalArnT &&value)
AccessEntry & WithTags(TagsT &&value)
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
Aws::Utils::Json::JsonValue JsonValue