7#include <aws/sagemaker/SageMaker_EXPORTS.h>
38 m_costPerHourHasBeenSet =
true;
39 m_costPerHour = value;
54 m_costPerInferenceHasBeenSet =
true;
55 m_costPerInference = value;
70 m_maxInvocationsHasBeenSet =
true;
71 m_maxInvocations = value;
87 m_modelLatencyHasBeenSet =
true;
88 m_modelLatency = value;
105 m_cpuUtilizationHasBeenSet =
true;
106 m_cpuUtilization = value;
123 m_memoryUtilizationHasBeenSet =
true;
124 m_memoryUtilization = value;
142 m_modelSetupTimeHasBeenSet =
true;
143 m_modelSetupTime = value;
151 double m_costPerHour{0.0};
153 double m_costPerInference{0.0};
155 int m_maxInvocations{0};
157 int m_modelLatency{0};
159 double m_cpuUtilization{0.0};
161 double m_memoryUtilization{0.0};
163 int m_modelSetupTime{0};
164 bool m_costPerHourHasBeenSet =
false;
165 bool m_costPerInferenceHasBeenSet =
false;
166 bool m_maxInvocationsHasBeenSet =
false;
167 bool m_modelLatencyHasBeenSet =
false;
168 bool m_cpuUtilizationHasBeenSet =
false;
169 bool m_memoryUtilizationHasBeenSet =
false;
170 bool m_modelSetupTimeHasBeenSet =
false;
bool MemoryUtilizationHasBeenSet() const
RecommendationMetrics & WithModelSetupTime(int value)
double GetCostPerHour() const
AWS_SAGEMAKER_API RecommendationMetrics(Aws::Utils::Json::JsonView jsonValue)
bool MaxInvocationsHasBeenSet() const
void SetCpuUtilization(double value)
void SetModelLatency(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
double GetMemoryUtilization() const
RecommendationMetrics & WithCpuUtilization(double value)
void SetModelSetupTime(int value)
bool CostPerInferenceHasBeenSet() const
RecommendationMetrics & WithMaxInvocations(int value)
bool ModelSetupTimeHasBeenSet() const
AWS_SAGEMAKER_API RecommendationMetrics()=default
void SetMemoryUtilization(double value)
bool CostPerHourHasBeenSet() const
int GetModelLatency() const
void SetCostPerInference(double value)
bool ModelLatencyHasBeenSet() const
void SetMaxInvocations(int value)
double GetCpuUtilization() const
bool CpuUtilizationHasBeenSet() const
RecommendationMetrics & WithMemoryUtilization(double value)
void SetCostPerHour(double value)
RecommendationMetrics & WithCostPerHour(double value)
int GetMaxInvocations() const
AWS_SAGEMAKER_API RecommendationMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationMetrics & WithCostPerInference(double value)
double GetCostPerInference() const
RecommendationMetrics & WithModelLatency(int value)
int GetModelSetupTime() const
Aws::Utils::Json::JsonValue JsonValue