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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/InstanceGroup.h>
77 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
111 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
139 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;
183 int m_keepAlivePeriodInSeconds;
184 bool m_keepAlivePeriodInSecondsHasBeenSet =
false;
187 bool m_instanceGroupsHasBeenSet =
false;
ResourceConfig & WithInstanceType(TrainingInstanceType &&value)
const Aws::String & GetVolumeKmsKeyId() const
bool VolumeSizeInGBHasBeenSet() const
ResourceConfig & WithVolumeKmsKeyId(Aws::String &&value)
bool InstanceCountHasBeenSet() const
void SetInstanceType(const TrainingInstanceType &value)
ResourceConfig & WithInstanceGroups(const Aws::Vector< InstanceGroup > &value)
bool VolumeKmsKeyIdHasBeenSet() const
ResourceConfig & AddInstanceGroups(const InstanceGroup &value)
ResourceConfig & WithKeepAlivePeriodInSeconds(int value)
void SetVolumeSizeInGB(int value)
bool KeepAlivePeriodInSecondsHasBeenSet() const
void SetInstanceType(TrainingInstanceType &&value)
ResourceConfig & AddInstanceGroups(InstanceGroup &&value)
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const TrainingInstanceType & GetInstanceType() const
AWS_SAGEMAKER_API ResourceConfig(Aws::Utils::Json::JsonView jsonValue)
int GetKeepAlivePeriodInSeconds() const
ResourceConfig & WithInstanceCount(int value)
void SetInstanceCount(int value)
void SetVolumeKmsKeyId(Aws::String &&value)
AWS_SAGEMAKER_API ResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceConfig & WithVolumeSizeInGB(int value)
void SetInstanceGroups(const Aws::Vector< InstanceGroup > &value)
void SetVolumeKmsKeyId(const char *value)
void SetVolumeKmsKeyId(const Aws::String &value)
void SetInstanceGroups(Aws::Vector< InstanceGroup > &&value)
ResourceConfig & WithVolumeKmsKeyId(const char *value)
bool InstanceGroupsHasBeenSet() const
const Aws::Vector< InstanceGroup > & GetInstanceGroups() const
AWS_SAGEMAKER_API ResourceConfig()
ResourceConfig & WithInstanceGroups(Aws::Vector< InstanceGroup > &&value)
ResourceConfig & WithVolumeKmsKeyId(const Aws::String &value)
void SetKeepAlivePeriodInSeconds(int value)
ResourceConfig & WithInstanceType(const TrainingInstanceType &value)
int GetInstanceCount() const
int GetVolumeSizeInGB() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue