7#include <aws/core/utils/DateTime.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/EKS_EXPORTS.h>
48 template <
typename ClusterNameT = Aws::String>
50 m_clusterNameHasBeenSet =
true;
51 m_clusterName = std::forward<ClusterNameT>(value);
53 template <
typename ClusterNameT = Aws::String>
76 template <
typename PrincipalArnT = Aws::String>
78 m_principalArnHasBeenSet =
true;
79 m_principalArn = std::forward<PrincipalArnT>(value);
81 template <
typename PrincipalArnT = Aws::String>
97 template <
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
99 m_kubernetesGroupsHasBeenSet =
true;
100 m_kubernetesGroups = std::forward<KubernetesGroupsT>(value);
102 template <
typename KubernetesGroupsT = Aws::Vector<Aws::String>>
107 template <
typename KubernetesGroupsT = Aws::String>
109 m_kubernetesGroupsHasBeenSet =
true;
110 m_kubernetesGroups.emplace_back(std::forward<KubernetesGroupsT>(value));
121 template <
typename AccessEntryArnT = Aws::String>
123 m_accessEntryArnHasBeenSet =
true;
124 m_accessEntryArn = std::forward<AccessEntryArnT>(value);
126 template <
typename AccessEntryArnT = Aws::String>
139 template <
typename CreatedAtT = Aws::Utils::DateTime>
141 m_createdAtHasBeenSet =
true;
142 m_createdAt = std::forward<CreatedAtT>(value);
144 template <
typename CreatedAtT = Aws::Utils::DateTime>
157 template <
typename ModifiedAtT = Aws::Utils::DateTime>
159 m_modifiedAtHasBeenSet =
true;
160 m_modifiedAt = std::forward<ModifiedAtT>(value);
162 template <
typename ModifiedAtT = Aws::Utils::DateTime>
177 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 m_tagsHasBeenSet =
true;
180 m_tags = std::forward<TagsT>(value);
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 SetTags(std::forward<TagsT>(value));
187 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
189 m_tagsHasBeenSet =
true;
190 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
201 template <
typename UsernameT = Aws::String>
203 m_usernameHasBeenSet =
true;
204 m_username = std::forward<UsernameT>(value);
206 template <
typename UsernameT = Aws::String>
219 template <
typename TypeT = Aws::String>
221 m_typeHasBeenSet =
true;
222 m_type = std::forward<TypeT>(value);
224 template <
typename TypeT = Aws::String>
226 SetType(std::forward<TypeT>(value));
248 bool m_clusterNameHasBeenSet =
false;
249 bool m_principalArnHasBeenSet =
false;
250 bool m_kubernetesGroupsHasBeenSet =
false;
251 bool m_accessEntryArnHasBeenSet =
false;
252 bool m_createdAtHasBeenSet =
false;
253 bool m_modifiedAtHasBeenSet =
false;
254 bool m_tagsHasBeenSet =
false;
255 bool m_usernameHasBeenSet =
false;
256 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