/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing an AWS Fargate profile.See Also:
AWS
* API Reference
The name of the Fargate profile.
*/ inline const Aws::String& GetFargateProfileName() const{ return m_fargateProfileName; } /** *The name of the Fargate profile.
*/ inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; } /** *The name of the Fargate profile.
*/ inline void SetFargateProfileName(const Aws::String& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = value; } /** *The name of the Fargate profile.
*/ inline void SetFargateProfileName(Aws::String&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::move(value); } /** *The name of the Fargate profile.
*/ inline void SetFargateProfileName(const char* value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName.assign(value); } /** *The name of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileName(const Aws::String& value) { SetFargateProfileName(value); return *this;} /** *The name of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileName(Aws::String&& value) { SetFargateProfileName(std::move(value)); return *this;} /** *The name of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileName(const char* value) { SetFargateProfileName(value); return *this;} /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline const Aws::String& GetFargateProfileArn() const{ return m_fargateProfileArn; } /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline bool FargateProfileArnHasBeenSet() const { return m_fargateProfileArnHasBeenSet; } /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline void SetFargateProfileArn(const Aws::String& value) { m_fargateProfileArnHasBeenSet = true; m_fargateProfileArn = value; } /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline void SetFargateProfileArn(Aws::String&& value) { m_fargateProfileArnHasBeenSet = true; m_fargateProfileArn = std::move(value); } /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline void SetFargateProfileArn(const char* value) { m_fargateProfileArnHasBeenSet = true; m_fargateProfileArn.assign(value); } /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileArn(const Aws::String& value) { SetFargateProfileArn(value); return *this;} /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileArn(Aws::String&& value) { SetFargateProfileArn(std::move(value)); return *this;} /** *The full Amazon Resource Name (ARN) of the Fargate profile.
*/ inline FargateProfile& WithFargateProfileArn(const char* value) { SetFargateProfileArn(value); return *this;} /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline FargateProfile& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline FargateProfile& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The name of the Amazon EKS cluster that the Fargate profile belongs to.
*/ inline FargateProfile& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline FargateProfile& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The Unix epoch timestamp in seconds for when the Fargate profile was * created.
*/ inline FargateProfile& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline const Aws::String& GetPodExecutionRoleArn() const{ return m_podExecutionRoleArn; } /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline bool PodExecutionRoleArnHasBeenSet() const { return m_podExecutionRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline void SetPodExecutionRoleArn(const Aws::String& value) { m_podExecutionRoleArnHasBeenSet = true; m_podExecutionRoleArn = value; } /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline void SetPodExecutionRoleArn(Aws::String&& value) { m_podExecutionRoleArnHasBeenSet = true; m_podExecutionRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline void SetPodExecutionRoleArn(const char* value) { m_podExecutionRoleArnHasBeenSet = true; m_podExecutionRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline FargateProfile& WithPodExecutionRoleArn(const Aws::String& value) { SetPodExecutionRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline FargateProfile& WithPodExecutionRoleArn(Aws::String&& value) { SetPodExecutionRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pod execution role to use for pods that * match the selectors in the Fargate profile. For more information, see Pod * Execution Role in the Amazon EKS User Guide.
*/ inline FargateProfile& WithPodExecutionRoleArn(const char* value) { SetPodExecutionRoleArn(value); return *this;} /** *The IDs of subnets to launch pods into.
*/ inline const Aws::VectorThe IDs of subnets to launch pods into.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The IDs of subnets to launch pods into.
*/ inline void SetSubnets(const Aws::VectorThe IDs of subnets to launch pods into.
*/ inline void SetSubnets(Aws::VectorThe IDs of subnets to launch pods into.
*/ inline FargateProfile& WithSubnets(const Aws::VectorThe IDs of subnets to launch pods into.
*/ inline FargateProfile& WithSubnets(Aws::VectorThe IDs of subnets to launch pods into.
*/ inline FargateProfile& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The IDs of subnets to launch pods into.
*/ inline FargateProfile& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The IDs of subnets to launch pods into.
*/ inline FargateProfile& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The selectors to match for pods to use this Fargate profile.
*/ inline const Aws::VectorThe selectors to match for pods to use this Fargate profile.
*/ inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; } /** *The selectors to match for pods to use this Fargate profile.
*/ inline void SetSelectors(const Aws::VectorThe selectors to match for pods to use this Fargate profile.
*/ inline void SetSelectors(Aws::VectorThe selectors to match for pods to use this Fargate profile.
*/ inline FargateProfile& WithSelectors(const Aws::VectorThe selectors to match for pods to use this Fargate profile.
*/ inline FargateProfile& WithSelectors(Aws::VectorThe selectors to match for pods to use this Fargate profile.
*/ inline FargateProfile& AddSelectors(const FargateProfileSelector& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(value); return *this; } /** *The selectors to match for pods to use this Fargate profile.
*/ inline FargateProfile& AddSelectors(FargateProfileSelector&& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(std::move(value)); return *this; } /** *The current status of the Fargate profile.
*/ inline const FargateProfileStatus& GetStatus() const{ return m_status; } /** *The current status of the Fargate profile.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the Fargate profile.
*/ inline void SetStatus(const FargateProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the Fargate profile.
*/ inline void SetStatus(FargateProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the Fargate profile.
*/ inline FargateProfile& WithStatus(const FargateProfileStatus& value) { SetStatus(value); return *this;} /** *The current status of the Fargate profile.
*/ inline FargateProfile& WithStatus(FargateProfileStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline const Aws::MapThe metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline void SetTags(const Aws::MapThe metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline void SetTags(Aws::MapThe metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& WithTags(const Aws::MapThe metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& WithTags(Aws::MapThe metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The metadata applied to the Fargate profile to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Fargate profile tags do not propagate to any other resources * associated with the Fargate profile, such as the pods that are scheduled with * it.
*/ inline FargateProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_fargateProfileName; bool m_fargateProfileNameHasBeenSet; Aws::String m_fargateProfileArn; bool m_fargateProfileArnHasBeenSet; Aws::String m_clusterName; bool m_clusterNameHasBeenSet; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet; Aws::String m_podExecutionRoleArn; bool m_podExecutionRoleArnHasBeenSet; Aws::Vector