7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/model/FargateProfileStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/eks/model/FargateProfileHealth.h>
14#include <aws/eks/model/FargateProfileSelector.h>
52 template<
typename FargateProfileNameT = Aws::String>
53 void SetFargateProfileName(FargateProfileNameT&& value) { m_fargateProfileNameHasBeenSet =
true; m_fargateProfileName = std::forward<FargateProfileNameT>(value); }
54 template<
typename FargateProfileNameT = Aws::String>
64 template<
typename FargateProfileArnT = Aws::String>
65 void SetFargateProfileArn(FargateProfileArnT&& value) { m_fargateProfileArnHasBeenSet =
true; m_fargateProfileArn = std::forward<FargateProfileArnT>(value); }
66 template<
typename FargateProfileArnT = Aws::String>
76 template<
typename ClusterNameT = Aws::String>
77 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
78 template<
typename ClusterNameT = Aws::String>
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
104 template<
typename PodExecutionRoleArnT = Aws::String>
105 void SetPodExecutionRoleArn(PodExecutionRoleArnT&& value) { m_podExecutionRoleArnHasBeenSet =
true; m_podExecutionRoleArn = std::forward<PodExecutionRoleArnT>(value); }
106 template<
typename PodExecutionRoleArnT = Aws::String>
116 template<
typename SubnetsT = Aws::Vector<Aws::String>>
117 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
118 template<
typename SubnetsT = Aws::Vector<Aws::String>>
120 template<
typename SubnetsT = Aws::String>
121 FargateProfile&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
131 template<
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
132 void SetSelectors(SelectorsT&& value) { m_selectorsHasBeenSet =
true; m_selectors = std::forward<SelectorsT>(value); }
133 template<
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
135 template<
typename SelectorsT = FargateProfileSelector>
136 FargateProfile&
AddSelectors(SelectorsT&& value) { m_selectorsHasBeenSet =
true; m_selectors.emplace_back(std::forward<SelectorsT>(value));
return *
this; }
157 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
174 template<
typename HealthT = FargateProfileHealth>
175 void SetHealth(HealthT&& value) { m_healthHasBeenSet =
true; m_health = std::forward<HealthT>(value); }
176 template<
typename HealthT = FargateProfileHealth>
182 bool m_fargateProfileNameHasBeenSet =
false;
185 bool m_fargateProfileArnHasBeenSet =
false;
188 bool m_clusterNameHasBeenSet =
false;
191 bool m_createdAtHasBeenSet =
false;
194 bool m_podExecutionRoleArnHasBeenSet =
false;
197 bool m_subnetsHasBeenSet =
false;
200 bool m_selectorsHasBeenSet =
false;
203 bool m_statusHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
208 FargateProfileHealth m_health;
209 bool m_healthHasBeenSet =
false;
FargateProfile & WithStatus(FargateProfileStatus value)
void SetHealth(HealthT &&value)
bool FargateProfileNameHasBeenSet() const
FargateProfile & WithFargateProfileArn(FargateProfileArnT &&value)
FargateProfileStatus GetStatus() const
bool SelectorsHasBeenSet() const
const Aws::String & GetClusterName() const
bool CreatedAtHasBeenSet() const
const Aws::Vector< FargateProfileSelector > & GetSelectors() const
void SetFargateProfileName(FargateProfileNameT &&value)
FargateProfile & WithPodExecutionRoleArn(PodExecutionRoleArnT &&value)
FargateProfile & WithTags(TagsT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
FargateProfile & AddSelectors(SelectorsT &&value)
FargateProfile & AddTags(TagsKeyT &&key, TagsValueT &&value)
FargateProfile & WithCreatedAt(CreatedAtT &&value)
bool PodExecutionRoleArnHasBeenSet() const
void SetPodExecutionRoleArn(PodExecutionRoleArnT &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_EKS_API FargateProfile(Aws::Utils::Json::JsonView jsonValue)
FargateProfile & WithClusterName(ClusterNameT &&value)
void SetClusterName(ClusterNameT &&value)
const Aws::String & GetFargateProfileArn() const
void SetCreatedAt(CreatedAtT &&value)
bool HealthHasBeenSet() const
FargateProfile & WithSubnets(SubnetsT &&value)
FargateProfile & AddSubnets(SubnetsT &&value)
void SetSubnets(SubnetsT &&value)
const Aws::String & GetPodExecutionRoleArn() const
void SetSelectors(SelectorsT &&value)
AWS_EKS_API FargateProfile()=default
bool ClusterNameHasBeenSet() const
bool TagsHasBeenSet() const
bool SubnetsHasBeenSet() const
FargateProfile & WithHealth(HealthT &&value)
const FargateProfileHealth & GetHealth() const
void SetFargateProfileArn(FargateProfileArnT &&value)
bool FargateProfileArnHasBeenSet() const
FargateProfile & WithSelectors(SelectorsT &&value)
AWS_EKS_API FargateProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFargateProfileName() const
void SetStatus(FargateProfileStatus value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
FargateProfile & WithFargateProfileName(FargateProfileNameT &&value)
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
Aws::Utils::Json::JsonValue JsonValue