7#include <aws/sagemaker/SageMaker_EXPORTS.h>
44 inline void SetCostPerHour(
double value) { m_costPerHourHasBeenSet =
true; m_costPerHour = value; }
54 inline void SetCostPerInference(
double value) { m_costPerInferenceHasBeenSet =
true; m_costPerInference = value; }
64 inline void SetMaxInvocations(
int value) { m_maxInvocationsHasBeenSet =
true; m_maxInvocations = value; }
75 inline void SetModelLatency(
int value) { m_modelLatencyHasBeenSet =
true; m_modelLatency = value; }
87 inline void SetCpuUtilization(
double value) { m_cpuUtilizationHasBeenSet =
true; m_cpuUtilization = value; }
99 inline void SetMemoryUtilization(
double value) { m_memoryUtilizationHasBeenSet =
true; m_memoryUtilization = value; }
112 inline void SetModelSetupTime(
int value) { m_modelSetupTimeHasBeenSet =
true; m_modelSetupTime = value; }
117 double m_costPerHour;
118 bool m_costPerHourHasBeenSet =
false;
120 double m_costPerInference;
121 bool m_costPerInferenceHasBeenSet =
false;
123 int m_maxInvocations;
124 bool m_maxInvocationsHasBeenSet =
false;
127 bool m_modelLatencyHasBeenSet =
false;
129 double m_cpuUtilization;
130 bool m_cpuUtilizationHasBeenSet =
false;
132 double m_memoryUtilization;
133 bool m_memoryUtilizationHasBeenSet =
false;
135 int m_modelSetupTime;
136 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
AWS_SAGEMAKER_API RecommendationMetrics()
double GetMemoryUtilization() const
RecommendationMetrics & WithCpuUtilization(double value)
void SetModelSetupTime(int value)
bool CostPerInferenceHasBeenSet() const
RecommendationMetrics & WithMaxInvocations(int value)
bool ModelSetupTimeHasBeenSet() const
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