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/eks/EKS_EXPORTS.h>
45 template <
typename ClusterNameT = Aws::String>
47 m_clusterNameHasBeenSet =
true;
48 m_clusterName = std::forward<ClusterNameT>(value);
50 template <
typename ClusterNameT = Aws::String>
65 template <
typename NamespaceT = Aws::String>
67 m_namespaceHasBeenSet =
true;
68 m_namespace = std::forward<NamespaceT>(value);
70 template <
typename NamespaceT = Aws::String>
84 template <
typename ServiceAccountT = Aws::String>
86 m_serviceAccountHasBeenSet =
true;
87 m_serviceAccount = std::forward<ServiceAccountT>(value);
89 template <
typename ServiceAccountT = Aws::String>
104 template <
typename RoleArnT = Aws::String>
106 m_roleArnHasBeenSet =
true;
107 m_roleArn = std::forward<RoleArnT>(value);
109 template <
typename RoleArnT = Aws::String>
122 template <
typename AssociationArnT = Aws::String>
124 m_associationArnHasBeenSet =
true;
125 m_associationArn = std::forward<AssociationArnT>(value);
127 template <
typename AssociationArnT = Aws::String>
140 template <
typename AssociationIdT = Aws::String>
142 m_associationIdHasBeenSet =
true;
143 m_associationId = std::forward<AssociationIdT>(value);
145 template <
typename AssociationIdT = Aws::String>
174 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 m_tagsHasBeenSet =
true;
177 m_tags = std::forward<TagsT>(value);
179 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 SetTags(std::forward<TagsT>(value));
184 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
186 m_tagsHasBeenSet =
true;
187 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
198 template <
typename CreatedAtT = Aws::Utils::DateTime>
200 m_createdAtHasBeenSet =
true;
201 m_createdAt = std::forward<CreatedAtT>(value);
203 template <
typename CreatedAtT = Aws::Utils::DateTime>
216 template <
typename ModifiedAtT = Aws::Utils::DateTime>
218 m_modifiedAtHasBeenSet =
true;
219 m_modifiedAt = std::forward<ModifiedAtT>(value);
221 template <
typename ModifiedAtT = Aws::Utils::DateTime>
235 template <
typename OwnerArnT = Aws::String>
237 m_ownerArnHasBeenSet =
true;
238 m_ownerArn = std::forward<OwnerArnT>(value);
240 template <
typename OwnerArnT = Aws::String>
263 m_disableSessionTagsHasBeenSet =
true;
264 m_disableSessionTags = value;
280 template <
typename TargetRoleArnT = Aws::String>
282 m_targetRoleArnHasBeenSet =
true;
283 m_targetRoleArn = std::forward<TargetRoleArnT>(value);
285 template <
typename TargetRoleArnT = Aws::String>
308 template <
typename ExternalIdT = Aws::String>
310 m_externalIdHasBeenSet =
true;
311 m_externalId = std::forward<ExternalIdT>(value);
313 template <
typename ExternalIdT = Aws::String>
340 bool m_disableSessionTags{
false};
345 bool m_clusterNameHasBeenSet =
false;
346 bool m_namespaceHasBeenSet =
false;
347 bool m_serviceAccountHasBeenSet =
false;
348 bool m_roleArnHasBeenSet =
false;
349 bool m_associationArnHasBeenSet =
false;
350 bool m_associationIdHasBeenSet =
false;
351 bool m_tagsHasBeenSet =
false;
352 bool m_createdAtHasBeenSet =
false;
353 bool m_modifiedAtHasBeenSet =
false;
354 bool m_ownerArnHasBeenSet =
false;
355 bool m_disableSessionTagsHasBeenSet =
false;
356 bool m_targetRoleArnHasBeenSet =
false;
357 bool m_externalIdHasBeenSet =
false;
bool ClusterNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ModifiedAtHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
PodIdentityAssociation & WithAssociationId(AssociationIdT &&value)
void SetExternalId(ExternalIdT &&value)
void SetServiceAccount(ServiceAccountT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAssociationId() const
PodIdentityAssociation & AddTags(TagsKeyT &&key, TagsValueT &&value)
PodIdentityAssociation & WithServiceAccount(ServiceAccountT &&value)
PodIdentityAssociation & WithTargetRoleArn(TargetRoleArnT &&value)
PodIdentityAssociation & WithDisableSessionTags(bool value)
void SetAssociationId(AssociationIdT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
void SetTags(TagsT &&value)
void SetClusterName(ClusterNameT &&value)
bool OwnerArnHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetNamespace() const
AWS_EKS_API PodIdentityAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
bool AssociationArnHasBeenSet() const
PodIdentityAssociation & WithNamespace(NamespaceT &&value)
void SetTargetRoleArn(TargetRoleArnT &&value)
PodIdentityAssociation & WithRoleArn(RoleArnT &&value)
PodIdentityAssociation & WithClusterName(ClusterNameT &&value)
bool NamespaceHasBeenSet() const
PodIdentityAssociation & WithOwnerArn(OwnerArnT &&value)
const Aws::String & GetExternalId() const
const Aws::String & GetServiceAccount() const
bool GetDisableSessionTags() const
bool RoleArnHasBeenSet() const
bool ServiceAccountHasBeenSet() const
const Aws::String & GetOwnerArn() const
void SetCreatedAt(CreatedAtT &&value)
bool AssociationIdHasBeenSet() const
const Aws::String & GetTargetRoleArn() const
PodIdentityAssociation & WithTags(TagsT &&value)
bool TargetRoleArnHasBeenSet() const
bool DisableSessionTagsHasBeenSet() const
AWS_EKS_API PodIdentityAssociation()=default
AWS_EKS_API PodIdentityAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(NamespaceT &&value)
PodIdentityAssociation & WithModifiedAt(ModifiedAtT &&value)
PodIdentityAssociation & WithExternalId(ExternalIdT &&value)
void SetDisableSessionTags(bool value)
PodIdentityAssociation & WithCreatedAt(CreatedAtT &&value)
void SetAssociationArn(AssociationArnT &&value)
void SetModifiedAt(ModifiedAtT &&value)
bool ExternalIdHasBeenSet() const
PodIdentityAssociation & WithAssociationArn(AssociationArnT &&value)
void SetOwnerArn(OwnerArnT &&value)
const Aws::String & GetClusterName() const
const Aws::String & GetAssociationArn() const
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
Aws::Utils::Json::JsonValue JsonValue