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/sagemaker/model/ClusterLifeCycleConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/ClusterInstanceStorageConfig.h>
13#include <aws/sagemaker/model/DeepHealthCheckType.h>
53 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
65 inline void SetInstanceGroupName(
const char* value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName.assign(value); }
103 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
122 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
158 bool m_instanceCountHasBeenSet =
false;
161 bool m_instanceGroupNameHasBeenSet =
false;
164 bool m_instanceTypeHasBeenSet =
false;
167 bool m_lifeCycleConfigHasBeenSet =
false;
170 bool m_executionRoleHasBeenSet =
false;
172 int m_threadsPerCore;
173 bool m_threadsPerCoreHasBeenSet =
false;
176 bool m_instanceStorageConfigsHasBeenSet =
false;
179 bool m_onStartDeepHealthChecksHasBeenSet =
false;
void SetLifeCycleConfig(const ClusterLifeCycleConfig &value)
void SetInstanceStorageConfigs(Aws::Vector< ClusterInstanceStorageConfig > &&value)
void SetInstanceType(ClusterInstanceType &&value)
ClusterInstanceGroupSpecification & WithInstanceStorageConfigs(const Aws::Vector< ClusterInstanceStorageConfig > &value)
ClusterInstanceGroupSpecification & WithInstanceStorageConfigs(Aws::Vector< ClusterInstanceStorageConfig > &&value)
ClusterInstanceGroupSpecification & AddInstanceStorageConfigs(const ClusterInstanceStorageConfig &value)
void SetExecutionRole(const Aws::String &value)
void SetThreadsPerCore(int value)
void SetInstanceType(const ClusterInstanceType &value)
void SetInstanceGroupName(const Aws::String &value)
int GetInstanceCount() const
void SetLifeCycleConfig(ClusterLifeCycleConfig &&value)
void SetInstanceStorageConfigs(const Aws::Vector< ClusterInstanceStorageConfig > &value)
ClusterInstanceGroupSpecification & WithThreadsPerCore(int value)
void SetInstanceGroupName(const char *value)
AWS_SAGEMAKER_API ClusterInstanceGroupSpecification(Aws::Utils::Json::JsonView jsonValue)
bool ExecutionRoleHasBeenSet() const
void SetExecutionRole(const char *value)
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
void SetExecutionRole(Aws::String &&value)
bool ThreadsPerCoreHasBeenSet() const
ClusterInstanceGroupSpecification & WithInstanceGroupName(const char *value)
ClusterInstanceGroupSpecification & WithLifeCycleConfig(const ClusterLifeCycleConfig &value)
void SetInstanceCount(int value)
bool LifeCycleConfigHasBeenSet() const
AWS_SAGEMAKER_API ClusterInstanceGroupSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const ClusterLifeCycleConfig & GetLifeCycleConfig() const
ClusterInstanceGroupSpecification & WithExecutionRole(Aws::String &&value)
const Aws::String & GetInstanceGroupName() const
ClusterInstanceGroupSpecification & WithOnStartDeepHealthChecks(Aws::Vector< DeepHealthCheckType > &&value)
int GetThreadsPerCore() const
ClusterInstanceGroupSpecification & WithInstanceCount(int value)
void SetOnStartDeepHealthChecks(const Aws::Vector< DeepHealthCheckType > &value)
ClusterInstanceGroupSpecification & WithExecutionRole(const char *value)
ClusterInstanceGroupSpecification & AddInstanceStorageConfigs(ClusterInstanceStorageConfig &&value)
ClusterInstanceGroupSpecification & WithInstanceType(ClusterInstanceType &&value)
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterInstanceGroupSpecification & WithExecutionRole(const Aws::String &value)
ClusterInstanceGroupSpecification & WithInstanceGroupName(const Aws::String &value)
const Aws::Vector< DeepHealthCheckType > & GetOnStartDeepHealthChecks() const
bool InstanceGroupNameHasBeenSet() const
bool InstanceCountHasBeenSet() const
ClusterInstanceGroupSpecification & WithInstanceType(const ClusterInstanceType &value)
AWS_SAGEMAKER_API ClusterInstanceGroupSpecification()
void SetInstanceGroupName(Aws::String &&value)
ClusterInstanceGroupSpecification & WithOnStartDeepHealthChecks(const Aws::Vector< DeepHealthCheckType > &value)
ClusterInstanceGroupSpecification & WithLifeCycleConfig(ClusterLifeCycleConfig &&value)
ClusterInstanceGroupSpecification & AddOnStartDeepHealthChecks(const DeepHealthCheckType &value)
void SetOnStartDeepHealthChecks(Aws::Vector< DeepHealthCheckType > &&value)
ClusterInstanceGroupSpecification & AddOnStartDeepHealthChecks(DeepHealthCheckType &&value)
const Aws::String & GetExecutionRole() const
bool InstanceStorageConfigsHasBeenSet() const
const ClusterInstanceType & GetInstanceType() const
bool OnStartDeepHealthChecksHasBeenSet() const
ClusterInstanceGroupSpecification & WithInstanceGroupName(Aws::String &&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