7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetPercentile(
const char* value) { m_percentileHasBeenSet =
true; m_percentile.assign(value); }
62 inline void SetValueInMilliseconds(
int value) { m_valueInMillisecondsHasBeenSet =
true; m_valueInMilliseconds = value; }
68 bool m_percentileHasBeenSet =
false;
70 int m_valueInMilliseconds;
71 bool m_valueInMillisecondsHasBeenSet =
false;
void SetPercentile(const char *value)
const Aws::String & GetPercentile() const
ModelLatencyThreshold & WithPercentile(const char *value)
bool ValueInMillisecondsHasBeenSet() const
bool PercentileHasBeenSet() const
ModelLatencyThreshold & WithValueInMilliseconds(int value)
ModelLatencyThreshold & WithPercentile(const Aws::String &value)
AWS_SAGEMAKER_API ModelLatencyThreshold(Aws::Utils::Json::JsonView jsonValue)
void SetPercentile(const Aws::String &value)
AWS_SAGEMAKER_API ModelLatencyThreshold()
int GetValueInMilliseconds() const
void SetValueInMilliseconds(int value)
void SetPercentile(Aws::String &&value)
AWS_SAGEMAKER_API ModelLatencyThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelLatencyThreshold & WithPercentile(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue