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 CurrentLabelsT = Aws::Map<Aws::String, Aws::String>>
46 m_currentLabelsHasBeenSet =
true;
47 m_currentLabels = std::forward<CurrentLabelsT>(value);
49 template <
typename CurrentLabelsT = Aws::Map<Aws::String, Aws::String>>
54 template <
typename CurrentLabelsKeyT = Aws::String,
typename CurrentLabelsValueT = Aws::String>
56 m_currentLabelsHasBeenSet =
true;
57 m_currentLabels.emplace(std::forward<CurrentLabelsKeyT>(key), std::forward<CurrentLabelsValueT>(value));
68 template <
typename DesiredLabelsT = Aws::Map<Aws::String, Aws::String>>
70 m_desiredLabelsHasBeenSet =
true;
71 m_desiredLabels = std::forward<DesiredLabelsT>(value);
73 template <
typename DesiredLabelsT = Aws::Map<Aws::String, Aws::String>>
78 template <
typename DesiredLabelsKeyT = Aws::String,
typename DesiredLabelsValueT = Aws::String>
80 m_desiredLabelsHasBeenSet =
true;
81 m_desiredLabels.emplace(std::forward<DesiredLabelsKeyT>(key), std::forward<DesiredLabelsValueT>(value));
92 template <
typename CurrentTa
intsT = Aws::Vector<ClusterKubernetesTa
int>>
94 m_currentTaintsHasBeenSet =
true;
95 m_currentTaints = std::forward<CurrentTaintsT>(value);
97 template <
typename CurrentTa
intsT = Aws::Vector<ClusterKubernetesTa
int>>
102 template <
typename CurrentTa
intsT = ClusterKubernetesTa
int>
104 m_currentTaintsHasBeenSet =
true;
105 m_currentTaints.emplace_back(std::forward<CurrentTaintsT>(value));
116 template <
typename DesiredTa
intsT = Aws::Vector<ClusterKubernetesTa
int>>
118 m_desiredTaintsHasBeenSet =
true;
119 m_desiredTaints = std::forward<DesiredTaintsT>(value);
121 template <
typename DesiredTa
intsT = Aws::Vector<ClusterKubernetesTa
int>>
126 template <
typename DesiredTa
intsT = ClusterKubernetesTa
int>
128 m_desiredTaintsHasBeenSet =
true;
129 m_desiredTaints.emplace_back(std::forward<DesiredTaintsT>(value));
141 bool m_currentLabelsHasBeenSet =
false;
142 bool m_desiredLabelsHasBeenSet =
false;
143 bool m_currentTaintsHasBeenSet =
false;
144 bool m_desiredTaintsHasBeenSet =
false;
ClusterKubernetesConfigDetails & WithCurrentLabels(CurrentLabelsT &&value)
void SetDesiredTaints(DesiredTaintsT &&value)
ClusterKubernetesConfigDetails & AddDesiredLabels(DesiredLabelsKeyT &&key, DesiredLabelsValueT &&value)
ClusterKubernetesConfigDetails & WithDesiredLabels(DesiredLabelsT &&value)
ClusterKubernetesConfigDetails & WithCurrentTaints(CurrentTaintsT &&value)
bool CurrentLabelsHasBeenSet() const
AWS_SAGEMAKER_API ClusterKubernetesConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDesiredLabels(DesiredLabelsT &&value)
void SetCurrentLabels(CurrentLabelsT &&value)
const Aws::Vector< ClusterKubernetesTaint > & GetDesiredTaints() const
bool DesiredLabelsHasBeenSet() const
ClusterKubernetesConfigDetails & AddCurrentTaints(CurrentTaintsT &&value)
ClusterKubernetesConfigDetails & WithDesiredTaints(DesiredTaintsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCurrentLabels() const
AWS_SAGEMAKER_API ClusterKubernetesConfigDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterKubernetesConfigDetails()=default
ClusterKubernetesConfigDetails & AddCurrentLabels(CurrentLabelsKeyT &&key, CurrentLabelsValueT &&value)
bool CurrentTaintsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDesiredLabels() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCurrentTaints(CurrentTaintsT &&value)
ClusterKubernetesConfigDetails & AddDesiredTaints(DesiredTaintsT &&value)
bool DesiredTaintsHasBeenSet() const
const Aws::Vector< ClusterKubernetesTaint > & GetCurrentTaints() 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