7#include <aws/sagemaker/SageMaker_EXPORTS.h>
86 double m_numberOfCpuCoresRequired;
87 bool m_numberOfCpuCoresRequiredHasBeenSet =
false;
89 double m_numberOfAcceleratorDevicesRequired;
90 bool m_numberOfAcceleratorDevicesRequiredHasBeenSet =
false;
92 int m_minMemoryRequiredInMb;
93 bool m_minMemoryRequiredInMbHasBeenSet =
false;
95 int m_maxMemoryRequiredInMb;
96 bool m_maxMemoryRequiredInMbHasBeenSet =
false;
AWS_SAGEMAKER_API InferenceComponentComputeResourceRequirements(Aws::Utils::Json::JsonView jsonValue)
bool MinMemoryRequiredInMbHasBeenSet() const
int GetMaxMemoryRequiredInMb() const
InferenceComponentComputeResourceRequirements & WithMinMemoryRequiredInMb(int value)
void SetNumberOfAcceleratorDevicesRequired(double value)
int GetMinMemoryRequiredInMb() const
bool NumberOfAcceleratorDevicesRequiredHasBeenSet() const
AWS_SAGEMAKER_API InferenceComponentComputeResourceRequirements()
void SetMinMemoryRequiredInMb(int value)
void SetNumberOfCpuCoresRequired(double value)
double GetNumberOfCpuCoresRequired() const
bool NumberOfCpuCoresRequiredHasBeenSet() const
double GetNumberOfAcceleratorDevicesRequired() const
InferenceComponentComputeResourceRequirements & WithNumberOfAcceleratorDevicesRequired(double value)
bool MaxMemoryRequiredInMbHasBeenSet() const
InferenceComponentComputeResourceRequirements & WithMaxMemoryRequiredInMb(int value)
InferenceComponentComputeResourceRequirements & WithNumberOfCpuCoresRequired(double value)
AWS_SAGEMAKER_API InferenceComponentComputeResourceRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxMemoryRequiredInMb(int value)
Aws::Utils::Json::JsonValue JsonValue