7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
51 template<
typename ClusterNameT = Aws::String>
52 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
53 template<
typename ClusterNameT = Aws::String>
65 template<
typename NamespaceT = Aws::String>
66 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
67 template<
typename NamespaceT = Aws::String>
78 template<
typename ServiceAccountT = Aws::String>
79 void SetServiceAccount(ServiceAccountT&& value) { m_serviceAccountHasBeenSet =
true; m_serviceAccount = std::forward<ServiceAccountT>(value); }
80 template<
typename ServiceAccountT = Aws::String>
92 template<
typename RoleArnT = Aws::String>
93 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
94 template<
typename RoleArnT = Aws::String>
104 template<
typename AssociationArnT = Aws::String>
105 void SetAssociationArn(AssociationArnT&& value) { m_associationArnHasBeenSet =
true; m_associationArn = std::forward<AssociationArnT>(value); }
106 template<
typename AssociationArnT = Aws::String>
116 template<
typename AssociationIdT = Aws::String>
117 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
118 template<
typename AssociationIdT = Aws::String>
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
160 template<
typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
162 template<
typename CreatedAtT = Aws::Utils::DateTime>
172 template<
typename ModifiedAtT = Aws::Utils::DateTime>
173 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
174 template<
typename ModifiedAtT = Aws::Utils::DateTime>
185 template<
typename OwnerArnT = Aws::String>
186 void SetOwnerArn(OwnerArnT&& value) { m_ownerArnHasBeenSet =
true; m_ownerArn = std::forward<OwnerArnT>(value); }
187 template<
typename OwnerArnT = Aws::String>
206 inline void SetDisableSessionTags(
bool value) { m_disableSessionTagsHasBeenSet =
true; m_disableSessionTags = value; }
218 template<
typename TargetRoleArnT = Aws::String>
219 void SetTargetRoleArn(TargetRoleArnT&& value) { m_targetRoleArnHasBeenSet =
true; m_targetRoleArn = std::forward<TargetRoleArnT>(value); }
220 template<
typename TargetRoleArnT = Aws::String>
240 template<
typename ExternalIdT = Aws::String>
241 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
242 template<
typename ExternalIdT = Aws::String>
248 bool m_clusterNameHasBeenSet =
false;
251 bool m_namespaceHasBeenSet =
false;
254 bool m_serviceAccountHasBeenSet =
false;
257 bool m_roleArnHasBeenSet =
false;
260 bool m_associationArnHasBeenSet =
false;
263 bool m_associationIdHasBeenSet =
false;
266 bool m_tagsHasBeenSet =
false;
269 bool m_createdAtHasBeenSet =
false;
272 bool m_modifiedAtHasBeenSet =
false;
275 bool m_ownerArnHasBeenSet =
false;
277 bool m_disableSessionTags{
false};
278 bool m_disableSessionTagsHasBeenSet =
false;
281 bool m_targetRoleArnHasBeenSet =
false;
284 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