7#include <aws/sagemaker/SageMaker_EXPORTS.h>
61 inline void SetModelLatency(
int value) { m_modelLatencyHasBeenSet =
true; m_modelLatency = value; }
66 int m_invocationsPerInstance;
67 bool m_invocationsPerInstanceHasBeenSet =
false;
70 bool m_modelLatencyHasBeenSet =
false;
int GetModelLatency() const
AWS_SAGEMAKER_API ScalingPolicyMetric(Aws::Utils::Json::JsonView jsonValue)
void SetInvocationsPerInstance(int value)
bool ModelLatencyHasBeenSet() const
AWS_SAGEMAKER_API ScalingPolicyMetric()
void SetModelLatency(int value)
bool InvocationsPerInstanceHasBeenSet() const
int GetInvocationsPerInstance() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingPolicyMetric & WithModelLatency(int value)
AWS_SAGEMAKER_API ScalingPolicyMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPolicyMetric & WithInvocationsPerInstance(int value)
Aws::Utils::Json::JsonValue JsonValue