7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/HyperParameterTuningAllocationStrategy.h>
11#include <aws/sagemaker/model/HyperParameterTuningInstanceConfig.h>
12#include <aws/sagemaker/model/TrainingInstanceType.h>
58 m_instanceTypeHasBeenSet =
true;
59 m_instanceType = value;
77 m_instanceCountHasBeenSet =
true;
78 m_instanceCount = value;
104 m_volumeSizeInGBHasBeenSet =
true;
105 m_volumeSizeInGB = value;
134 template <
typename VolumeKmsKeyIdT = Aws::String>
136 m_volumeKmsKeyIdHasBeenSet =
true;
137 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
139 template <
typename VolumeKmsKeyIdT = Aws::String>
154 m_allocationStrategyHasBeenSet =
true;
155 m_allocationStrategy = value;
180 template <
typename InstanceConfigsT = Aws::Vector<HyperParameterTuningInstanceConfig>>
182 m_instanceConfigsHasBeenSet =
true;
183 m_instanceConfigs = std::forward<InstanceConfigsT>(value);
185 template <
typename InstanceConfigsT = Aws::Vector<HyperParameterTuningInstanceConfig>>
190 template <
typename InstanceConfigsT = HyperParameterTuningInstanceConfig>
192 m_instanceConfigsHasBeenSet =
true;
193 m_instanceConfigs.emplace_back(std::forward<InstanceConfigsT>(value));
200 int m_instanceCount{0};
202 int m_volumeSizeInGB{0};
209 bool m_instanceTypeHasBeenSet =
false;
210 bool m_instanceCountHasBeenSet =
false;
211 bool m_volumeSizeInGBHasBeenSet =
false;
212 bool m_volumeKmsKeyIdHasBeenSet =
false;
213 bool m_allocationStrategyHasBeenSet =
false;
214 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