AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoundTripTime.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace InternetMonitor
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_INTERNETMONITOR_API RoundTripTime();
35 AWS_INTERNETMONITOR_API RoundTripTime(Aws::Utils::Json::JsonView jsonValue);
36 AWS_INTERNETMONITOR_API RoundTripTime& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetP50() const{ return m_p50; }
45 inline bool P50HasBeenSet() const { return m_p50HasBeenSet; }
46 inline void SetP50(double value) { m_p50HasBeenSet = true; m_p50 = value; }
47 inline RoundTripTime& WithP50(double value) { SetP50(value); return *this;}
49
51
54 inline double GetP90() const{ return m_p90; }
55 inline bool P90HasBeenSet() const { return m_p90HasBeenSet; }
56 inline void SetP90(double value) { m_p90HasBeenSet = true; m_p90 = value; }
57 inline RoundTripTime& WithP90(double value) { SetP90(value); return *this;}
59
61
64 inline double GetP95() const{ return m_p95; }
65 inline bool P95HasBeenSet() const { return m_p95HasBeenSet; }
66 inline void SetP95(double value) { m_p95HasBeenSet = true; m_p95 = value; }
67 inline RoundTripTime& WithP95(double value) { SetP95(value); return *this;}
69 private:
70
71 double m_p50;
72 bool m_p50HasBeenSet = false;
73
74 double m_p90;
75 bool m_p90HasBeenSet = false;
76
77 double m_p95;
78 bool m_p95HasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace InternetMonitor
83} // namespace Aws
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INTERNETMONITOR_API RoundTripTime()
RoundTripTime & WithP50(double value)
RoundTripTime & WithP95(double value)
AWS_INTERNETMONITOR_API RoundTripTime(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API RoundTripTime & operator=(Aws::Utils::Json::JsonView jsonValue)
RoundTripTime & WithP90(double value)
Aws::Utils::Json::JsonValue JsonValue