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/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKSRequest.h>
12#include <aws/eks/EKS_EXPORTS.h>
13#include <aws/eks/model/FargateProfileSelector.h>
41 template <
typename FargateProfileNameT = Aws::String>
43 m_fargateProfileNameHasBeenSet =
true;
44 m_fargateProfileName = std::forward<FargateProfileNameT>(value);
46 template <
typename FargateProfileNameT = Aws::String>
59 template <
typename ClusterNameT = Aws::String>
61 m_clusterNameHasBeenSet =
true;
62 m_clusterName = std::forward<ClusterNameT>(value);
64 template <
typename ClusterNameT = Aws::String>
83 template <
typename PodExecutionRoleArnT = Aws::String>
85 m_podExecutionRoleArnHasBeenSet =
true;
86 m_podExecutionRoleArn = std::forward<PodExecutionRoleArnT>(value);
88 template <
typename PodExecutionRoleArnT = Aws::String>
104 template <
typename SubnetsT = Aws::Vector<Aws::String>>
106 m_subnetsHasBeenSet =
true;
107 m_subnets = std::forward<SubnetsT>(value);
109 template <
typename SubnetsT = Aws::Vector<Aws::String>>
114 template <
typename SubnetsT = Aws::String>
116 m_subnetsHasBeenSet =
true;
117 m_subnets.emplace_back(std::forward<SubnetsT>(value));
132 template <
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
134 m_selectorsHasBeenSet =
true;
135 m_selectors = std::forward<SelectorsT>(value);
137 template <
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
142 template <
typename SelectorsT = FargateProfileSelector>
144 m_selectorsHasBeenSet =
true;
145 m_selectors.emplace_back(std::forward<SelectorsT>(value));
157 template <
typename ClientRequestTokenT = Aws::String>
159 m_clientRequestTokenHasBeenSet =
true;
160 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
162 template <
typename ClientRequestTokenT = Aws::String>
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));
208 bool m_fargateProfileNameHasBeenSet =
false;
209 bool m_clusterNameHasBeenSet =
false;
210 bool m_podExecutionRoleArnHasBeenSet =
false;
211 bool m_subnetsHasBeenSet =
false;
212 bool m_selectorsHasBeenSet =
false;
213 bool m_clientRequestTokenHasBeenSet =
true;
214 bool m_tagsHasBeenSet =
false;
CreateFargateProfileRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateFargateProfileRequest & WithSelectors(SelectorsT &&value)
CreateFargateProfileRequest & WithSubnets(SubnetsT &&value)
bool SelectorsHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
bool ClientRequestTokenHasBeenSet() const
AWS_EKS_API Aws::String SerializePayload() const override
CreateFargateProfileRequest & WithClusterName(ClusterNameT &&value)
CreateFargateProfileRequest & WithFargateProfileName(FargateProfileNameT &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
CreateFargateProfileRequest & AddSelectors(SelectorsT &&value)
const Aws::String & GetClusterName() const
bool SubnetsHasBeenSet() const
void SetTags(TagsT &&value)
bool ClusterNameHasBeenSet() const
bool FargateProfileNameHasBeenSet() const
CreateFargateProfileRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateFargateProfileRequest & AddSubnets(SubnetsT &&value)
const Aws::String & GetFargateProfileName() const
bool TagsHasBeenSet() const
void SetFargateProfileName(FargateProfileNameT &&value)
const Aws::Vector< FargateProfileSelector > & GetSelectors() const
bool PodExecutionRoleArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFargateProfileRequest & WithPodExecutionRoleArn(PodExecutionRoleArnT &&value)
AWS_EKS_API CreateFargateProfileRequest()=default
void SetSelectors(SelectorsT &&value)
CreateFargateProfileRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetClusterName(ClusterNameT &&value)
void SetPodExecutionRoleArn(PodExecutionRoleArnT &&value)
const Aws::String & GetClientRequestToken() const
void SetSubnets(SubnetsT &&value)
const Aws::String & GetPodExecutionRoleArn() 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
std::vector< T, Aws::Allocator< T > > Vector