7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClusterInstanceType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/InstanceGroupStatus.h>
12#include <aws/sagemaker/model/VpcConfig.h>
13#include <aws/sagemaker/model/ScheduledUpdateConfig.h>
14#include <aws/sagemaker/model/EnvironmentConfigDetails.h>
15#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
16#include <aws/sagemaker/model/DeepHealthCheckType.h>
56 inline void SetCurrentCount(
int value) { m_currentCountHasBeenSet =
true; m_currentCount = value; }
67 inline void SetTargetCount(
int value) { m_targetCountHasBeenSet =
true; m_targetCount = value; }
78 template<
typename InstanceGroupNameT = Aws::String>
79 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
80 template<
typename InstanceGroupNameT = Aws::String>
101 template<
typename ExecutionRoleT = Aws::String>
102 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
103 template<
typename ExecutionRoleT = Aws::String>
120 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
131 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
132 void SetInstanceStorageConfigs(InstanceStorageConfigsT&& value) { m_instanceStorageConfigsHasBeenSet =
true; m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value); }
133 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
135 template<
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
146 template<
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
147 void SetOnStartDeepHealthChecks(OnStartDeepHealthChecksT&& value) { m_onStartDeepHealthChecksHasBeenSet =
true; m_onStartDeepHealthChecks = std::forward<OnStartDeepHealthChecksT>(value); }
148 template<
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
182 template<
typename TrainingPlanArnT = Aws::String>
183 void SetTrainingPlanArn(TrainingPlanArnT&& value) { m_trainingPlanArnHasBeenSet =
true; m_trainingPlanArn = std::forward<TrainingPlanArnT>(value); }
184 template<
typename TrainingPlanArnT = Aws::String>
195 template<
typename TrainingPlanStatusT = Aws::String>
196 void SetTrainingPlanStatus(TrainingPlanStatusT&& value) { m_trainingPlanStatusHasBeenSet =
true; m_trainingPlanStatus = std::forward<TrainingPlanStatusT>(value); }
197 template<
typename TrainingPlanStatusT = Aws::String>
205 template<
typename Overr
ideVpcConfigT = VpcConfig>
206 void SetOverrideVpcConfig(OverrideVpcConfigT&& value) { m_overrideVpcConfigHasBeenSet =
true; m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value); }
207 template<
typename Overr
ideVpcConfigT = VpcConfig>
215 template<
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
216 void SetScheduledUpdateConfig(ScheduledUpdateConfigT&& value) { m_scheduledUpdateConfigHasBeenSet =
true; m_scheduledUpdateConfig = std::forward<ScheduledUpdateConfigT>(value); }
217 template<
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
227 template<
typename EnvironmentConfigT = EnvironmentConfigDetails>
228 void SetEnvironmentConfig(EnvironmentConfigT&& value) { m_environmentConfigHasBeenSet =
true; m_environmentConfig = std::forward<EnvironmentConfigT>(value); }
229 template<
typename EnvironmentConfigT = EnvironmentConfigDetails>
234 int m_currentCount{0};
235 bool m_currentCountHasBeenSet =
false;
237 int m_targetCount{0};
238 bool m_targetCountHasBeenSet =
false;
241 bool m_instanceGroupNameHasBeenSet =
false;
244 bool m_instanceTypeHasBeenSet =
false;
247 bool m_executionRoleHasBeenSet =
false;
249 int m_threadsPerCore{0};
250 bool m_threadsPerCoreHasBeenSet =
false;
253 bool m_instanceStorageConfigsHasBeenSet =
false;
256 bool m_onStartDeepHealthChecksHasBeenSet =
false;
259 bool m_statusHasBeenSet =
false;
262 bool m_trainingPlanArnHasBeenSet =
false;
265 bool m_trainingPlanStatusHasBeenSet =
false;
267 VpcConfig m_overrideVpcConfig;
268 bool m_overrideVpcConfigHasBeenSet =
false;
270 ScheduledUpdateConfig m_scheduledUpdateConfig;
271 bool m_scheduledUpdateConfigHasBeenSet =
false;
273 EnvironmentConfigDetails m_environmentConfig;
274 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