7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/eks/model/FargateProfileSelector.h>
14#include <aws/core/utils/UUID.h>
45 template<
typename FargateProfileNameT = Aws::String>
46 void SetFargateProfileName(FargateProfileNameT&& value) { m_fargateProfileNameHasBeenSet =
true; m_fargateProfileName = std::forward<FargateProfileNameT>(value); }
47 template<
typename FargateProfileNameT = Aws::String>
57 template<
typename ClusterNameT = Aws::String>
58 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
59 template<
typename ClusterNameT = Aws::String>
75 template<
typename PodExecutionRoleArnT = Aws::String>
76 void SetPodExecutionRoleArn(PodExecutionRoleArnT&& value) { m_podExecutionRoleArnHasBeenSet =
true; m_podExecutionRoleArn = std::forward<PodExecutionRoleArnT>(value); }
77 template<
typename PodExecutionRoleArnT = Aws::String>
90 template<
typename SubnetsT = Aws::Vector<Aws::String>>
91 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
92 template<
typename SubnetsT = Aws::Vector<Aws::String>>
94 template<
typename SubnetsT = Aws::String>
108 template<
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
109 void SetSelectors(SelectorsT&& value) { m_selectorsHasBeenSet =
true; m_selectors = std::forward<SelectorsT>(value); }
110 template<
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
112 template<
typename SelectorsT = FargateProfileSelector>
123 template<
typename ClientRequestTokenT = Aws::String>
124 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
125 template<
typename ClientRequestTokenT = Aws::String>
137 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
139 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
143 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
149 bool m_fargateProfileNameHasBeenSet =
false;
152 bool m_clusterNameHasBeenSet =
false;
155 bool m_podExecutionRoleArnHasBeenSet =
false;
158 bool m_subnetsHasBeenSet =
false;
161 bool m_selectorsHasBeenSet =
false;
164 bool m_clientRequestTokenHasBeenSet =
true;
167 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