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 SetCurrentCount(
int value) { m_currentCountHasBeenSet =
true; m_currentCount = value; }
64 inline void SetTargetCount(
int value) { m_targetCountHasBeenSet =
true; m_targetCount = value; }
76 inline void SetInstanceGroupName(
const char* value) { m_instanceGroupNameHasBeenSet =
true; m_instanceGroupName.assign(value); }
114 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
133 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
169 bool m_currentCountHasBeenSet =
false;
172 bool m_targetCountHasBeenSet =
false;
175 bool m_instanceGroupNameHasBeenSet =
false;
178 bool m_instanceTypeHasBeenSet =
false;
181 bool m_lifeCycleConfigHasBeenSet =
false;
184 bool m_executionRoleHasBeenSet =
false;
186 int m_threadsPerCore;
187 bool m_threadsPerCoreHasBeenSet =
false;
190 bool m_instanceStorageConfigsHasBeenSet =
false;
193 bool m_onStartDeepHealthChecksHasBeenSet =
false;
bool InstanceTypeHasBeenSet() const
const ClusterLifeCycleConfig & GetLifeCycleConfig() const
void SetExecutionRole(Aws::String &&value)
void SetInstanceStorageConfigs(const Aws::Vector< ClusterInstanceStorageConfig > &value)
ClusterInstanceGroupDetails & WithLifeCycleConfig(ClusterLifeCycleConfig &&value)
void SetTargetCount(int value)
ClusterInstanceGroupDetails & WithOnStartDeepHealthChecks(const Aws::Vector< DeepHealthCheckType > &value)
const Aws::Vector< DeepHealthCheckType > & GetOnStartDeepHealthChecks() const
int GetThreadsPerCore() const
bool LifeCycleConfigHasBeenSet() const
void SetExecutionRole(const char *value)
ClusterInstanceGroupDetails & WithInstanceStorageConfigs(Aws::Vector< ClusterInstanceStorageConfig > &&value)
bool InstanceGroupNameHasBeenSet() const
ClusterInstanceGroupDetails & WithThreadsPerCore(int value)
void SetExecutionRole(const Aws::String &value)
ClusterInstanceGroupDetails & AddOnStartDeepHealthChecks(DeepHealthCheckType &&value)
int GetCurrentCount() const
ClusterInstanceGroupDetails & WithTargetCount(int value)
ClusterInstanceGroupDetails & WithLifeCycleConfig(const ClusterLifeCycleConfig &value)
ClusterInstanceGroupDetails & WithExecutionRole(const char *value)
ClusterInstanceGroupDetails & WithOnStartDeepHealthChecks(Aws::Vector< DeepHealthCheckType > &&value)
void SetInstanceType(const ClusterInstanceType &value)
bool TargetCountHasBeenSet() const
void SetInstanceGroupName(const char *value)
const Aws::String & GetInstanceGroupName() const
ClusterInstanceGroupDetails & AddOnStartDeepHealthChecks(const DeepHealthCheckType &value)
const ClusterInstanceType & GetInstanceType() const
AWS_SAGEMAKER_API ClusterInstanceGroupDetails()
AWS_SAGEMAKER_API ClusterInstanceGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThreadsPerCore(int value)
void SetInstanceType(ClusterInstanceType &&value)
int GetTargetCount() const
void SetLifeCycleConfig(const ClusterLifeCycleConfig &value)
ClusterInstanceGroupDetails & WithCurrentCount(int value)
ClusterInstanceGroupDetails & AddInstanceStorageConfigs(ClusterInstanceStorageConfig &&value)
ClusterInstanceGroupDetails & WithInstanceGroupName(Aws::String &&value)
const Aws::String & GetExecutionRole() const
void SetCurrentCount(int value)
AWS_SAGEMAKER_API ClusterInstanceGroupDetails(Aws::Utils::Json::JsonView jsonValue)
bool ExecutionRoleHasBeenSet() const
bool CurrentCountHasBeenSet() const
void SetInstanceGroupName(const Aws::String &value)
const Aws::Vector< ClusterInstanceStorageConfig > & GetInstanceStorageConfigs() const
bool InstanceStorageConfigsHasBeenSet() const
ClusterInstanceGroupDetails & WithInstanceGroupName(const Aws::String &value)
void SetInstanceGroupName(Aws::String &&value)
ClusterInstanceGroupDetails & WithInstanceType(ClusterInstanceType &&value)
ClusterInstanceGroupDetails & WithExecutionRole(const Aws::String &value)
void SetOnStartDeepHealthChecks(const Aws::Vector< DeepHealthCheckType > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterInstanceGroupDetails & WithExecutionRole(Aws::String &&value)
ClusterInstanceGroupDetails & WithInstanceGroupName(const char *value)
bool ThreadsPerCoreHasBeenSet() const
void SetOnStartDeepHealthChecks(Aws::Vector< DeepHealthCheckType > &&value)
bool OnStartDeepHealthChecksHasBeenSet() const
ClusterInstanceGroupDetails & WithInstanceStorageConfigs(const Aws::Vector< ClusterInstanceStorageConfig > &value)
void SetLifeCycleConfig(ClusterLifeCycleConfig &&value)
ClusterInstanceGroupDetails & WithInstanceType(const ClusterInstanceType &value)
ClusterInstanceGroupDetails & AddInstanceStorageConfigs(const ClusterInstanceStorageConfig &value)
void SetInstanceStorageConfigs(Aws::Vector< ClusterInstanceStorageConfig > &&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