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/VpcConfig.h>
12#include <aws/sagemaker/model/ScheduledUpdateConfig.h>
13#include <aws/sagemaker/model/EnvironmentConfig.h>
14#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
15#include <aws/sagemaker/model/DeepHealthCheckType.h>
55 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
65 template<
typename InstanceGroupNameT = Aws::String>
66 void SetInstanceGroupName(InstanceGroupNameT&& value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName = std::forward<InstanceGroupNameT>(value); }
67 template<
typename InstanceGroupNameT = Aws::String>
88 template<
typename ExecutionRoleT = Aws::String>
89 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
90 template<
typename ExecutionRoleT = Aws::String>
107 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
118 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
119 void SetInstanceStorageConfigs(InstanceStorageConfigsT&& value) { m_instanceStorageConfigsHasBeenSet =
true; m_instanceStorageConfigs = std::forward<InstanceStorageConfigsT>(value); }
120 template<
typename InstanceStorageConfigsT = Aws::Vector<ClusterInstanceStorageConfig>>
122 template<
typename InstanceStorageConfigsT = ClusterInstanceStorageConfig>
133 template<
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
134 void SetOnStartDeepHealthChecks(OnStartDeepHealthChecksT&& value) { m_onStartDeepHealthChecksHasBeenSet =
true; m_onStartDeepHealthChecks = std::forward<OnStartDeepHealthChecksT>(value); }
135 template<
typename OnStartDeepHealthChecksT = Aws::Vector<DeepHealthCheckType>>
150 template<
typename TrainingPlanArnT = Aws::String>
151 void SetTrainingPlanArn(TrainingPlanArnT&& value) { m_trainingPlanArnHasBeenSet =
true; m_trainingPlanArn = std::forward<TrainingPlanArnT>(value); }
152 template<
typename TrainingPlanArnT = Aws::String>
160 template<
typename Overr
ideVpcConfigT = VpcConfig>
161 void SetOverrideVpcConfig(OverrideVpcConfigT&& value) { m_overrideVpcConfigHasBeenSet =
true; m_overrideVpcConfig = std::forward<OverrideVpcConfigT>(value); }
162 template<
typename Overr
ideVpcConfigT = VpcConfig>
170 template<
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
171 void SetScheduledUpdateConfig(ScheduledUpdateConfigT&& value) { m_scheduledUpdateConfigHasBeenSet =
true; m_scheduledUpdateConfig = std::forward<ScheduledUpdateConfigT>(value); }
172 template<
typename ScheduledUpdateConfigT = ScheduledUpdateConfig>
182 template<
typename EnvironmentConfigT = EnvironmentConfig>
183 void SetEnvironmentConfig(EnvironmentConfigT&& value) { m_environmentConfigHasBeenSet =
true; m_environmentConfig = std::forward<EnvironmentConfigT>(value); }
184 template<
typename EnvironmentConfigT = EnvironmentConfig>
189 int m_instanceCount{0};
190 bool m_instanceCountHasBeenSet =
false;
193 bool m_instanceGroupNameHasBeenSet =
false;
196 bool m_instanceTypeHasBeenSet =
false;
199 bool m_executionRoleHasBeenSet =
false;
201 int m_threadsPerCore{0};
202 bool m_threadsPerCoreHasBeenSet =
false;
205 bool m_instanceStorageConfigsHasBeenSet =
false;
208 bool m_onStartDeepHealthChecksHasBeenSet =
false;
211 bool m_trainingPlanArnHasBeenSet =
false;
213 VpcConfig m_overrideVpcConfig;
214 bool m_overrideVpcConfigHasBeenSet =
false;
216 ScheduledUpdateConfig m_scheduledUpdateConfig;
217 bool m_scheduledUpdateConfigHasBeenSet =
false;
219 EnvironmentConfig m_environmentConfig;
220 bool m_environmentConfigHasBeenSet =
false;
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExecutionRole() const
const Aws::String & GetInstanceGroupName() const
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupSpecification()=default
bool OverrideVpcConfigHasBeenSet() const
void SetInstanceGroupName(InstanceGroupNameT &&value)
void SetInstanceCount(int value)
bool InstanceTypeHasBeenSet() const
ClusterInstanceType GetInstanceType() const
ClusterRestrictedInstanceGroupSpecification & WithInstanceType(ClusterInstanceType value)
bool ThreadsPerCoreHasBeenSet() const
int GetThreadsPerCore() const
bool InstanceStorageConfigsHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithOnStartDeepHealthChecks(OnStartDeepHealthChecksT &&value)
bool InstanceGroupNameHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithInstanceCount(int value)
const ScheduledUpdateConfig & GetScheduledUpdateConfig() const
void SetThreadsPerCore(int value)
ClusterRestrictedInstanceGroupSpecification & AddOnStartDeepHealthChecks(DeepHealthCheckType value)
bool InstanceCountHasBeenSet() const
void SetInstanceStorageConfigs(InstanceStorageConfigsT &&value)
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
const Aws::String & GetTrainingPlanArn() const
void SetInstanceType(ClusterInstanceType value)
bool EnvironmentConfigHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithEnvironmentConfig(EnvironmentConfigT &&value)
ClusterRestrictedInstanceGroupSpecification & WithInstanceGroupName(InstanceGroupNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterRestrictedInstanceGroupSpecification & WithExecutionRole(ExecutionRoleT &&value)
ClusterRestrictedInstanceGroupSpecification & WithScheduledUpdateConfig(ScheduledUpdateConfigT &&value)
bool ExecutionRoleHasBeenSet() const
bool TrainingPlanArnHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithThreadsPerCore(int value)
const VpcConfig & GetOverrideVpcConfig() const
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetOnStartDeepHealthChecks(OnStartDeepHealthChecksT &&value)
void SetTrainingPlanArn(TrainingPlanArnT &&value)
void SetScheduledUpdateConfig(ScheduledUpdateConfigT &&value)
const EnvironmentConfig & GetEnvironmentConfig() const
void SetEnvironmentConfig(EnvironmentConfigT &&value)
int GetInstanceCount() const
void SetOverrideVpcConfig(OverrideVpcConfigT &&value)
const Aws::Vector< DeepHealthCheckType > & GetOnStartDeepHealthChecks() const
bool ScheduledUpdateConfigHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithTrainingPlanArn(TrainingPlanArnT &&value)
ClusterRestrictedInstanceGroupSpecification & AddInstanceStorageConfigs(InstanceStorageConfigsT &&value)
bool OnStartDeepHealthChecksHasBeenSet() const
ClusterRestrictedInstanceGroupSpecification & WithOverrideVpcConfig(OverrideVpcConfigT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
ClusterRestrictedInstanceGroupSpecification & WithInstanceStorageConfigs(InstanceStorageConfigsT &&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