7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/EKSRequest.h>
11#include <aws/eks/EKS_EXPORTS.h>
39 template <
typename ClusterNameT = Aws::String>
41 m_clusterNameHasBeenSet =
true;
42 m_clusterName = std::forward<ClusterNameT>(value);
44 template <
typename ClusterNameT = Aws::String>
59 template <
typename NamespaceT = Aws::String>
61 m_namespaceHasBeenSet =
true;
62 m_namespace = std::forward<NamespaceT>(value);
64 template <
typename NamespaceT = Aws::String>
78 template <
typename ServiceAccountT = Aws::String>
80 m_serviceAccountHasBeenSet =
true;
81 m_serviceAccount = std::forward<ServiceAccountT>(value);
83 template <
typename ServiceAccountT = Aws::String>
98 template <
typename RoleArnT = Aws::String>
100 m_roleArnHasBeenSet =
true;
101 m_roleArn = std::forward<RoleArnT>(value);
103 template <
typename RoleArnT = Aws::String>
117 template <
typename ClientRequestTokenT = Aws::String>
119 m_clientRequestTokenHasBeenSet =
true;
120 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
122 template <
typename ClientRequestTokenT = Aws::String>
151 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
189 m_disableSessionTagsHasBeenSet =
true;
190 m_disableSessionTags = value;
218 template <
typename TargetRoleArnT = Aws::String>
220 m_targetRoleArnHasBeenSet =
true;
221 m_targetRoleArn = std::forward<TargetRoleArnT>(value);
223 template <
typename TargetRoleArnT = Aws::String>
242 bool m_disableSessionTags{
false};
245 bool m_clusterNameHasBeenSet =
false;
246 bool m_namespaceHasBeenSet =
false;
247 bool m_serviceAccountHasBeenSet =
false;
248 bool m_roleArnHasBeenSet =
false;
249 bool m_clientRequestTokenHasBeenSet =
true;
250 bool m_tagsHasBeenSet =
false;
251 bool m_disableSessionTagsHasBeenSet =
false;
252 bool m_targetRoleArnHasBeenSet =
false;
bool RoleArnHasBeenSet() const
const Aws::String & GetClusterName() const
void SetTags(TagsT &&value)
void SetDisableSessionTags(bool value)
void SetServiceAccount(ServiceAccountT &&value)
CreatePodIdentityAssociationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePodIdentityAssociationRequest & WithClusterName(ClusterNameT &&value)
bool DisableSessionTagsHasBeenSet() const
CreatePodIdentityAssociationRequest & WithNamespace(NamespaceT &&value)
void SetNamespace(NamespaceT &&value)
CreatePodIdentityAssociationRequest & WithDisableSessionTags(bool value)
const Aws::String & GetRoleArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool GetDisableSessionTags() const
AWS_EKS_API Aws::String SerializePayload() const override
const Aws::String & GetServiceAccount() const
CreatePodIdentityAssociationRequest & WithRoleArn(RoleArnT &&value)
CreatePodIdentityAssociationRequest & WithServiceAccount(ServiceAccountT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetClientRequestToken() const
void SetClusterName(ClusterNameT &&value)
CreatePodIdentityAssociationRequest & WithTags(TagsT &&value)
void SetTargetRoleArn(TargetRoleArnT &&value)
bool TagsHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
bool TargetRoleArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNamespace() const
bool NamespaceHasBeenSet() const
AWS_EKS_API CreatePodIdentityAssociationRequest()=default
void SetRoleArn(RoleArnT &&value)
CreatePodIdentityAssociationRequest & WithClientRequestToken(ClientRequestTokenT &&value)
bool ClusterNameHasBeenSet() const
const Aws::String & GetTargetRoleArn() const
CreatePodIdentityAssociationRequest & WithTargetRoleArn(TargetRoleArnT &&value)
bool ServiceAccountHasBeenSet() const
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