7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrainingInstanceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/HyperParameterTuningAllocationStrategy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/HyperParameterTuningInstanceConfig.h>
78 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
99 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
126 inline void SetVolumeKmsKeyId(
const char* value) { m_volumeKmsKeyIdHasBeenSet =
true; m_volumeKmsKeyId.assign(value); }
172 bool m_instanceTypeHasBeenSet =
false;
175 bool m_instanceCountHasBeenSet =
false;
177 int m_volumeSizeInGB;
178 bool m_volumeSizeInGBHasBeenSet =
false;
181 bool m_volumeKmsKeyIdHasBeenSet =
false;
184 bool m_allocationStrategyHasBeenSet =
false;
187 bool m_instanceConfigsHasBeenSet =
false;
void SetInstanceCount(int value)
void SetVolumeSizeInGB(int value)
void SetAllocationStrategy(HyperParameterTuningAllocationStrategy &&value)
void SetInstanceType(const TrainingInstanceType &value)
void SetInstanceConfigs(Aws::Vector< HyperParameterTuningInstanceConfig > &&value)
HyperParameterTuningResourceConfig & AddInstanceConfigs(HyperParameterTuningInstanceConfig &&value)
bool VolumeKmsKeyIdHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig()
void SetAllocationStrategy(const HyperParameterTuningAllocationStrategy &value)
int GetVolumeSizeInGB() const
bool InstanceConfigsHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeKmsKeyId(const char *value)
HyperParameterTuningResourceConfig & WithAllocationStrategy(const HyperParameterTuningAllocationStrategy &value)
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const HyperParameterTuningAllocationStrategy & GetAllocationStrategy() const
const TrainingInstanceType & GetInstanceType() const
HyperParameterTuningResourceConfig & WithInstanceType(const TrainingInstanceType &value)
void SetVolumeKmsKeyId(Aws::String &&value)
bool VolumeSizeInGBHasBeenSet() const
const Aws::String & GetVolumeKmsKeyId() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTuningResourceConfig & WithAllocationStrategy(HyperParameterTuningAllocationStrategy &&value)
int GetInstanceCount() const
HyperParameterTuningResourceConfig & AddInstanceConfigs(const HyperParameterTuningInstanceConfig &value)
const Aws::Vector< HyperParameterTuningInstanceConfig > & GetInstanceConfigs() const
HyperParameterTuningResourceConfig & WithInstanceCount(int value)
HyperParameterTuningResourceConfig & WithVolumeKmsKeyId(const char *value)
bool AllocationStrategyHasBeenSet() const
bool InstanceTypeHasBeenSet() const
void SetInstanceType(TrainingInstanceType &&value)
HyperParameterTuningResourceConfig & WithInstanceConfigs(const Aws::Vector< HyperParameterTuningInstanceConfig > &value)
HyperParameterTuningResourceConfig & WithInstanceConfigs(Aws::Vector< HyperParameterTuningInstanceConfig > &&value)
HyperParameterTuningResourceConfig & WithVolumeKmsKeyId(Aws::String &&value)
void SetVolumeKmsKeyId(const Aws::String &value)
HyperParameterTuningResourceConfig & WithInstanceType(TrainingInstanceType &&value)
HyperParameterTuningResourceConfig & WithVolumeSizeInGB(int value)
HyperParameterTuningResourceConfig & WithVolumeKmsKeyId(const Aws::String &value)
bool InstanceCountHasBeenSet() const
void SetInstanceConfigs(const Aws::Vector< HyperParameterTuningInstanceConfig > &value)
HyperParameterTuningAllocationStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue