/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the average latency for the slowest X percent of requests over the
* last 10 seconds.See Also:
AWS
* API Reference
The average latency for the slowest 0.1 percent of requests over the last 10 * seconds.
*/ inline double GetP999() const{ return m_p999; } /** *The average latency for the slowest 0.1 percent of requests over the last 10 * seconds.
*/ inline bool P999HasBeenSet() const { return m_p999HasBeenSet; } /** *The average latency for the slowest 0.1 percent of requests over the last 10 * seconds.
*/ inline void SetP999(double value) { m_p999HasBeenSet = true; m_p999 = value; } /** *The average latency for the slowest 0.1 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP999(double value) { SetP999(value); return *this;} /** *The average latency for the slowest 1 percent of requests over the last 10 * seconds.
*/ inline double GetP99() const{ return m_p99; } /** *The average latency for the slowest 1 percent of requests over the last 10 * seconds.
*/ inline bool P99HasBeenSet() const { return m_p99HasBeenSet; } /** *The average latency for the slowest 1 percent of requests over the last 10 * seconds.
*/ inline void SetP99(double value) { m_p99HasBeenSet = true; m_p99 = value; } /** *The average latency for the slowest 1 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP99(double value) { SetP99(value); return *this;} /** *The average latency for the slowest 5 percent of requests over the last 10 * seconds.
*/ inline double GetP95() const{ return m_p95; } /** *The average latency for the slowest 5 percent of requests over the last 10 * seconds.
*/ inline bool P95HasBeenSet() const { return m_p95HasBeenSet; } /** *The average latency for the slowest 5 percent of requests over the last 10 * seconds.
*/ inline void SetP95(double value) { m_p95HasBeenSet = true; m_p95 = value; } /** *The average latency for the slowest 5 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP95(double value) { SetP95(value); return *this;} /** *The average latency for the slowest 10 percent of requests over the last 10 * seconds.
*/ inline double GetP90() const{ return m_p90; } /** *The average latency for the slowest 10 percent of requests over the last 10 * seconds.
*/ inline bool P90HasBeenSet() const { return m_p90HasBeenSet; } /** *The average latency for the slowest 10 percent of requests over the last 10 * seconds.
*/ inline void SetP90(double value) { m_p90HasBeenSet = true; m_p90 = value; } /** *The average latency for the slowest 10 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP90(double value) { SetP90(value); return *this;} /** *The average latency for the slowest 15 percent of requests over the last 10 * seconds.
*/ inline double GetP85() const{ return m_p85; } /** *The average latency for the slowest 15 percent of requests over the last 10 * seconds.
*/ inline bool P85HasBeenSet() const { return m_p85HasBeenSet; } /** *The average latency for the slowest 15 percent of requests over the last 10 * seconds.
*/ inline void SetP85(double value) { m_p85HasBeenSet = true; m_p85 = value; } /** *The average latency for the slowest 15 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP85(double value) { SetP85(value); return *this;} /** *The average latency for the slowest 25 percent of requests over the last 10 * seconds.
*/ inline double GetP75() const{ return m_p75; } /** *The average latency for the slowest 25 percent of requests over the last 10 * seconds.
*/ inline bool P75HasBeenSet() const { return m_p75HasBeenSet; } /** *The average latency for the slowest 25 percent of requests over the last 10 * seconds.
*/ inline void SetP75(double value) { m_p75HasBeenSet = true; m_p75 = value; } /** *The average latency for the slowest 25 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP75(double value) { SetP75(value); return *this;} /** *The average latency for the slowest 50 percent of requests over the last 10 * seconds.
*/ inline double GetP50() const{ return m_p50; } /** *The average latency for the slowest 50 percent of requests over the last 10 * seconds.
*/ inline bool P50HasBeenSet() const { return m_p50HasBeenSet; } /** *The average latency for the slowest 50 percent of requests over the last 10 * seconds.
*/ inline void SetP50(double value) { m_p50HasBeenSet = true; m_p50 = value; } /** *The average latency for the slowest 50 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP50(double value) { SetP50(value); return *this;} /** *The average latency for the slowest 90 percent of requests over the last 10 * seconds.
*/ inline double GetP10() const{ return m_p10; } /** *The average latency for the slowest 90 percent of requests over the last 10 * seconds.
*/ inline bool P10HasBeenSet() const { return m_p10HasBeenSet; } /** *The average latency for the slowest 90 percent of requests over the last 10 * seconds.
*/ inline void SetP10(double value) { m_p10HasBeenSet = true; m_p10 = value; } /** *The average latency for the slowest 90 percent of requests over the last 10 * seconds.
*/ inline Latency& WithP10(double value) { SetP10(value); return *this;} private: double m_p999; bool m_p999HasBeenSet = false; double m_p99; bool m_p99HasBeenSet = false; double m_p95; bool m_p95HasBeenSet = false; double m_p90; bool m_p90HasBeenSet = false; double m_p85; bool m_p85HasBeenSet = false; double m_p75; bool m_p75HasBeenSet = false; double m_p50; bool m_p50HasBeenSet = false; double m_p10; bool m_p10HasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws