7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterInstanceType.h>
56 inline int GetCount()
const {
return m_count; }
58 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
72 inline void SetAccelerators(
int value) { m_acceleratorsHasBeenSet =
true; m_accelerators = value; }
84 inline double GetVCpu()
const {
return m_vCpu; }
86 inline void SetVCpu(
double value) { m_vCpuHasBeenSet =
true; m_vCpu = value; }
100 inline void SetMemoryInGiB(
double value) { m_memoryInGiBHasBeenSet =
true; m_memoryInGiB = value; }
106 bool m_instanceTypeHasBeenSet =
false;
109 bool m_countHasBeenSet =
false;
111 int m_accelerators{0};
112 bool m_acceleratorsHasBeenSet =
false;
115 bool m_vCpuHasBeenSet =
false;
117 double m_memoryInGiB{0.0};
118 bool m_memoryInGiBHasBeenSet =
false;
AWS_SAGEMAKER_API ComputeQuotaResourceConfig()=default
void SetMemoryInGiB(double value)
double GetMemoryInGiB() const
bool VCpuHasBeenSet() const
ClusterInstanceType GetInstanceType() const
bool InstanceTypeHasBeenSet() const
void SetAccelerators(int value)
AWS_SAGEMAKER_API ComputeQuotaResourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ComputeQuotaResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MemoryInGiBHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeQuotaResourceConfig & WithVCpu(double value)
bool CountHasBeenSet() const
ComputeQuotaResourceConfig & WithInstanceType(ClusterInstanceType value)
int GetAccelerators() const
bool AcceleratorsHasBeenSet() const
ComputeQuotaResourceConfig & WithCount(int value)
void SetInstanceType(ClusterInstanceType value)
ComputeQuotaResourceConfig & WithMemoryInGiB(double value)
void SetVCpu(double value)
ComputeQuotaResourceConfig & WithAccelerators(int value)
Aws::Utils::Json::JsonValue JsonValue