/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The model latency threshold.See Also:
AWS
* API Reference
The model latency percentile threshold.
*/ inline const Aws::String& GetPercentile() const{ return m_percentile; } /** *The model latency percentile threshold.
*/ inline bool PercentileHasBeenSet() const { return m_percentileHasBeenSet; } /** *The model latency percentile threshold.
*/ inline void SetPercentile(const Aws::String& value) { m_percentileHasBeenSet = true; m_percentile = value; } /** *The model latency percentile threshold.
*/ inline void SetPercentile(Aws::String&& value) { m_percentileHasBeenSet = true; m_percentile = std::move(value); } /** *The model latency percentile threshold.
*/ inline void SetPercentile(const char* value) { m_percentileHasBeenSet = true; m_percentile.assign(value); } /** *The model latency percentile threshold.
*/ inline ModelLatencyThreshold& WithPercentile(const Aws::String& value) { SetPercentile(value); return *this;} /** *The model latency percentile threshold.
*/ inline ModelLatencyThreshold& WithPercentile(Aws::String&& value) { SetPercentile(std::move(value)); return *this;} /** *The model latency percentile threshold.
*/ inline ModelLatencyThreshold& WithPercentile(const char* value) { SetPercentile(value); return *this;} /** *The model latency percentile value in milliseconds.
*/ inline int GetValueInMilliseconds() const{ return m_valueInMilliseconds; } /** *The model latency percentile value in milliseconds.
*/ inline bool ValueInMillisecondsHasBeenSet() const { return m_valueInMillisecondsHasBeenSet; } /** *The model latency percentile value in milliseconds.
*/ inline void SetValueInMilliseconds(int value) { m_valueInMillisecondsHasBeenSet = true; m_valueInMilliseconds = value; } /** *The model latency percentile value in milliseconds.
*/ inline ModelLatencyThreshold& WithValueInMilliseconds(int value) { SetValueInMilliseconds(value); return *this;} private: Aws::String m_percentile; bool m_percentileHasBeenSet = false; int m_valueInMilliseconds; bool m_valueInMillisecondsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws