7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
11#include <aws/sagemaker/model/ClusterInstanceType.h>
12#include <aws/sagemaker/model/DeepHealthCheckType.h>
13#include <aws/sagemaker/model/EnvironmentConfigDetails.h>
14#include <aws/sagemaker/model/InstanceGroupStatus.h>
15#include <aws/sagemaker/model/ScheduledUpdateConfig.h>
16#include <aws/sagemaker/model/VpcConfig.h>
51 m_currentCountHasBeenSet =
true;
52 m_currentCount = value;
68 m_targetCountHasBeenSet =
true;
69 m_targetCount = value;
84 template <
typename InstanceGroupNameT = Aws::String>
86 m_instanceGroupNameHasBeenSet =
true;
87 m_instanceGroupName = std::forward<InstanceGroupNameT>(value);
89 template <
typename InstanceGroupNameT = Aws::String>
104 m_instanceTypeHasBeenSet =
true;
105 m_instanceType = value;
119 template <
typename ExecutionRoleT = Aws::String>
121 m_executionRoleHasBeenSet =
true;
122 m_executionRole = std::forward<ExecutionRoleT>(value);
124 template <
typename ExecutionRoleT = Aws::String>
145 m_threadsPerCoreHasBeenSet =
true;
146 m_threadsPerCore = value;
161 template <
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
163 m_instanceStorageConfigsHasBeenSet =
true;
164 m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value);
166 template <
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
171 template <
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
173 m_instanceStorageConfigsHasBeenSet =
true;
174 m_instanceStorageConfigs.emplace_back(std::forward<InstanceStorageConfigsT>(value));
186 template <
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
188 m_onStartDeepHealthChecksHasBeenSet =
true;
189 m_onStartDeepHealthChecks = std::forward<OnStartDeepHealthChecksT>(value);
191 template <
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
197 m_onStartDeepHealthChecksHasBeenSet =
true;
198 m_onStartDeepHealthChecks.push_back(value);
219 m_statusHasBeenSet =
true;
238 template <
typename TrainingPlanArnT = Aws::String>
240 m_trainingPlanArnHasBeenSet =
true;
241 m_trainingPlanArn = std::forward<TrainingPlanArnT>(value);
243 template <
typename TrainingPlanArnT = Aws::String>
257 template <
typename TrainingPlanStatusT = Aws::String>
259 m_trainingPlanStatusHasBeenSet =
true;
260 m_trainingPlanStatus = std::forward<TrainingPlanStatusT>(value);
262 template <
typename TrainingPlanStatusT = Aws::String>
273 template <
typename Overr
ideVpcConfigT = VpcConfig>
275 m_overrideVpcConfigHasBeenSet =
true;
276 m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value);
278 template <
typename Overr
ideVpcConfigT = VpcConfig>
289 template <
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
291 m_scheduledUpdateConfigHasBeenSet =
true;
292 m_scheduledUpdateConfig = std::forward<ScheduledUpdateConfigT>(value);
294 template <
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
307 template <
typename EnvironmentConfigT = EnvironmentConfigDetails>
309 m_environmentConfigHasBeenSet =
true;
310 m_environmentConfig = std::forward<EnvironmentConfigT>(value);
312 template <
typename EnvironmentConfigT = EnvironmentConfigDetails>
319 int m_currentCount{0};
321 int m_targetCount{0};
329 int m_threadsPerCore{0};
341 VpcConfig m_overrideVpcConfig;
343 ScheduledUpdateConfig m_scheduledUpdateConfig;
345 EnvironmentConfigDetails m_environmentConfig;
346 bool m_currentCountHasBeenSet =
false;
347 bool m_targetCountHasBeenSet =
false;
348 bool m_instanceGroupNameHasBeenSet =
false;
349 bool m_instanceTypeHasBeenSet =
false;
350 bool m_executionRoleHasBeenSet =
false;
351 bool m_threadsPerCoreHasBeenSet =
false;
352 bool m_instanceStorageConfigsHasBeenSet =
false;
353 bool m_onStartDeepHealthChecksHasBeenSet =
false;
354 bool m_statusHasBeenSet =
false;
355 bool m_trainingPlanArnHasBeenSet =
false;
356 bool m_trainingPlanStatusHasBeenSet =
false;
357 bool m_overrideVpcConfigHasBeenSet =
false;
358 bool m_scheduledUpdateConfigHasBeenSet =
false;
359 bool m_environmentConfigHasBeenSet =
false;
ClusterRestrictedInstanceGroupDetails & WithInstanceGroupName(InstanceGroupNameT &&value)
ClusterRestrictedInstanceGroupDetails & WithExecutionRole(ExecutionRoleT &&value)
ClusterRestrictedInstanceGroupDetails & WithOverrideVpcConfig(OverrideVpcConfigT &&value)
ClusterRestrictedInstanceGroupDetails & WithInstanceStorageConfigs(InstanceStorageConfigsT &&value)
void SetTrainingPlanStatus(TrainingPlanStatusT &&value)
void SetInstanceGroupName(InstanceGroupNameT &&value)
ClusterRestrictedInstanceGroupDetails & WithStatus(InstanceGroupStatus value)
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(InstanceGroupStatus value)
ClusterRestrictedInstanceGroupDetails & WithScheduledUpdateConfig(ScheduledUpdateConfigT &&value)
const Aws::String & GetInstanceGroupName() const
ClusterRestrictedInstanceGroupDetails & WithTrainingPlanArn(TrainingPlanArnT &&value)
const ScheduledUpdateConfig & GetScheduledUpdateConfig() const
bool ScheduledUpdateConfigHasBeenSet() const
ClusterInstanceType GetInstanceType() const
ClusterRestrictedInstanceGroupDetails & WithThreadsPerCore(int value)
ClusterRestrictedInstanceGroupDetails & WithTrainingPlanStatus(TrainingPlanStatusT &&value)
void SetThreadsPerCore(int value)
bool TrainingPlanStatusHasBeenSet() const
int GetTargetCount() const
bool ExecutionRoleHasBeenSet() const
bool TrainingPlanArnHasBeenSet() const
void SetTargetCount(int value)
bool OnStartDeepHealthChecksHasBeenSet() const
bool ThreadsPerCoreHasBeenSet() const
ClusterRestrictedInstanceGroupDetails & WithCurrentCount(int value)
bool EnvironmentConfigHasBeenSet() const
void SetOnStartDeepHealthChecks(OnStartDeepHealthChecksT &&value)
void SetInstanceStorageConfigs(InstanceStorageConfigsT &&value)
bool OverrideVpcConfigHasBeenSet() const
int GetThreadsPerCore() const
ClusterRestrictedInstanceGroupDetails & WithInstanceType(ClusterInstanceType value)
void SetTrainingPlanArn(TrainingPlanArnT &&value)
void SetEnvironmentConfig(EnvironmentConfigT &&value)
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupDetails()=default
const Aws::String & GetExecutionRole() const
bool StatusHasBeenSet() const
ClusterRestrictedInstanceGroupDetails & AddOnStartDeepHealthChecks(DeepHealthCheckType value)
const Aws::Vector< DeepHealthCheckType > & GetOnStartDeepHealthChecks() const
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
ClusterRestrictedInstanceGroupDetails & WithTargetCount(int value)
ClusterRestrictedInstanceGroupDetails & WithOnStartDeepHealthChecks(OnStartDeepHealthChecksT &&value)
bool TargetCountHasBeenSet() const
void SetInstanceType(ClusterInstanceType value)
void SetOverrideVpcConfig(OverrideVpcConfigT &&value)
void SetScheduledUpdateConfig(ScheduledUpdateConfigT &&value)
const EnvironmentConfigDetails & GetEnvironmentConfig() const
const Aws::String & GetTrainingPlanStatus() const
void SetExecutionRole(ExecutionRoleT &&value)
bool CurrentCountHasBeenSet() const
ClusterRestrictedInstanceGroupDetails & AddInstanceStorageConfigs(InstanceStorageConfigsT &&value)
const Aws::String & GetTrainingPlanArn() const
ClusterRestrictedInstanceGroupDetails & WithEnvironmentConfig(EnvironmentConfigT &&value)
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceStorageConfigsHasBeenSet() const
int GetCurrentCount() const
const VpcConfig & GetOverrideVpcConfig() const
InstanceGroupStatus GetStatus() const
bool InstanceGroupNameHasBeenSet() const
void SetCurrentCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue