7#include <aws/core/utils/DateTime.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/EKS_EXPORTS.h>
12#include <aws/eks/model/FargateProfileHealth.h>
13#include <aws/eks/model/FargateProfileSelector.h>
14#include <aws/eks/model/FargateProfileStatus.h>
46 template <
typename FargateProfileNameT = Aws::String>
48 m_fargateProfileNameHasBeenSet =
true;
49 m_fargateProfileName = std::forward<FargateProfileNameT>(value);
51 template <
typename FargateProfileNameT = Aws::String>
64 template <
typename FargateProfileArnT = Aws::String>
66 m_fargateProfileArnHasBeenSet =
true;
67 m_fargateProfileArn = std::forward<FargateProfileArnT>(value);
69 template <
typename FargateProfileArnT = Aws::String>
82 template <
typename ClusterNameT = Aws::String>
84 m_clusterNameHasBeenSet =
true;
85 m_clusterName = std::forward<ClusterNameT>(value);
87 template <
typename ClusterNameT = Aws::String>
100 template <
typename CreatedAtT = Aws::Utils::DateTime>
102 m_createdAtHasBeenSet =
true;
103 m_createdAt = std::forward<CreatedAtT>(value);
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
122 template <
typename PodExecutionRoleArnT = Aws::String>
124 m_podExecutionRoleArnHasBeenSet =
true;
125 m_podExecutionRoleArn = std::forward<PodExecutionRoleArnT>(value);
127 template <
typename PodExecutionRoleArnT = Aws::String>
140 template <
typename SubnetsT = Aws::Vector<Aws::String>>
142 m_subnetsHasBeenSet =
true;
143 m_subnets = std::forward<SubnetsT>(value);
145 template <
typename SubnetsT = Aws::Vector<Aws::String>>
150 template <
typename SubnetsT = Aws::String>
152 m_subnetsHasBeenSet =
true;
153 m_subnets.emplace_back(std::forward<SubnetsT>(value));
165 template <
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
167 m_selectorsHasBeenSet =
true;
168 m_selectors = std::forward<SelectorsT>(value);
170 template <
typename SelectorsT = Aws::Vector<FargateProfileSelector>>
175 template <
typename SelectorsT = FargateProfileSelector>
177 m_selectorsHasBeenSet =
true;
178 m_selectors.emplace_back(std::forward<SelectorsT>(value));
190 m_statusHasBeenSet =
true;
207 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 m_tagsHasBeenSet =
true;
210 m_tags = std::forward<TagsT>(value);
212 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 SetTags(std::forward<TagsT>(value));
217 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
219 m_tagsHasBeenSet =
true;
220 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
232 template <
typename HealthT = FargateProfileHealth>
234 m_healthHasBeenSet =
true;
235 m_health = std::forward<HealthT>(value);
237 template <
typename HealthT = FargateProfileHealth>
262 FargateProfileHealth m_health;
263 bool m_fargateProfileNameHasBeenSet =
false;
264 bool m_fargateProfileArnHasBeenSet =
false;
265 bool m_clusterNameHasBeenSet =
false;
266 bool m_createdAtHasBeenSet =
false;
267 bool m_podExecutionRoleArnHasBeenSet =
false;
268 bool m_subnetsHasBeenSet =
false;
269 bool m_selectorsHasBeenSet =
false;
270 bool m_statusHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
272 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