7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ClusterKubernetesTaint.h>
44 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
46 m_labelsHasBeenSet =
true;
47 m_labels = std::forward<LabelsT>(value);
49 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
54 template <
typename LabelsKeyT = Aws::String,
typename LabelsValueT = Aws::String>
56 m_labelsHasBeenSet =
true;
57 m_labels.emplace(std::forward<LabelsKeyT>(key), std::forward<LabelsValueT>(value));
68 template <
typename Ta
intsT = Aws::Vector<ClusterKubernetesTa
int>>
70 m_taintsHasBeenSet =
true;
71 m_taints = std::forward<TaintsT>(value);
73 template <
typename Ta
intsT = Aws::Vector<ClusterKubernetesTa
int>>
78 template <
typename Ta
intsT = ClusterKubernetesTa
int>
80 m_taintsHasBeenSet =
true;
81 m_taints.emplace_back(std::forward<TaintsT>(value));
89 bool m_labelsHasBeenSet =
false;
90 bool m_taintsHasBeenSet =
false;
ClusterKubernetesConfig & WithTaints(TaintsT &&value)
const Aws::Vector< ClusterKubernetesTaint > & GetTaints() const
bool TaintsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
bool LabelsHasBeenSet() const
void SetTaints(TaintsT &&value)
ClusterKubernetesConfig & WithLabels(LabelsT &&value)
AWS_SAGEMAKER_API ClusterKubernetesConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLabels(LabelsT &&value)
ClusterKubernetesConfig & AddTaints(TaintsT &&value)
AWS_SAGEMAKER_API ClusterKubernetesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterKubernetesConfig()=default
ClusterKubernetesConfig & AddLabels(LabelsKeyT &&key, LabelsValueT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue