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>
76 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
97 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
122 template<
typename VolumeKmsKeyIdT = Aws::String>
123 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet =
true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
124 template<
typename VolumeKmsKeyIdT = Aws::String>
156 template<
typename InstanceConfigsT = Aws::Vector<HyperParameterTuningInstanceConfig>>
157 void SetInstanceConfigs(InstanceConfigsT&& value) { m_instanceConfigsHasBeenSet =
true; m_instanceConfigs = std::forward<InstanceConfigsT>(value); }
158 template<
typename InstanceConfigsT = Aws::Vector<HyperParameterTuningInstanceConfig>>
160 template<
typename InstanceConfigsT = HyperParameterTuningInstanceConfig>
166 bool m_instanceTypeHasBeenSet =
false;
168 int m_instanceCount{0};
169 bool m_instanceCountHasBeenSet =
false;
171 int m_volumeSizeInGB{0};
172 bool m_volumeSizeInGBHasBeenSet =
false;
175 bool m_volumeKmsKeyIdHasBeenSet =
false;
178 bool m_allocationStrategyHasBeenSet =
false;
181 bool m_instanceConfigsHasBeenSet =
false;
void SetInstanceCount(int value)
void SetVolumeSizeInGB(int value)
void SetAllocationStrategy(HyperParameterTuningAllocationStrategy value)
bool VolumeKmsKeyIdHasBeenSet() const
HyperParameterTuningResourceConfig & WithInstanceType(TrainingInstanceType value)
int GetVolumeSizeInGB() const
bool InstanceConfigsHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningAllocationStrategy GetAllocationStrategy() const
HyperParameterTuningResourceConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VolumeSizeInGBHasBeenSet() const
HyperParameterTuningResourceConfig & WithInstanceConfigs(InstanceConfigsT &&value)
const Aws::String & GetVolumeKmsKeyId() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTuningResourceConfig & WithAllocationStrategy(HyperParameterTuningAllocationStrategy value)
int GetInstanceCount() const
AWS_SAGEMAKER_API HyperParameterTuningResourceConfig()=default
const Aws::Vector< HyperParameterTuningInstanceConfig > & GetInstanceConfigs() const
HyperParameterTuningResourceConfig & WithInstanceCount(int value)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
void SetInstanceConfigs(InstanceConfigsT &&value)
bool AllocationStrategyHasBeenSet() const
bool InstanceTypeHasBeenSet() const
HyperParameterTuningResourceConfig & WithVolumeSizeInGB(int value)
HyperParameterTuningResourceConfig & AddInstanceConfigs(InstanceConfigsT &&value)
bool InstanceCountHasBeenSet() const
TrainingInstanceType GetInstanceType() const
void SetInstanceType(TrainingInstanceType 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