AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PerformanceMeasurement.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/internetmonitor/model/RoundTripTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace InternetMonitor
22{
23namespace Model
24{
25
49 {
50 public:
51 AWS_INTERNETMONITOR_API PerformanceMeasurement();
52 AWS_INTERNETMONITOR_API PerformanceMeasurement(Aws::Utils::Json::JsonView jsonValue);
53 AWS_INTERNETMONITOR_API PerformanceMeasurement& operator=(Aws::Utils::Json::JsonView jsonValue);
54 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
73 inline double GetExperienceScore() const{ return m_experienceScore; }
74 inline bool ExperienceScoreHasBeenSet() const { return m_experienceScoreHasBeenSet; }
75 inline void SetExperienceScore(double value) { m_experienceScoreHasBeenSet = true; m_experienceScore = value; }
76 inline PerformanceMeasurement& WithExperienceScore(double value) { SetExperienceScore(value); return *this;}
78
80
90 inline double GetPercentOfTotalTrafficImpacted() const{ return m_percentOfTotalTrafficImpacted; }
91 inline bool PercentOfTotalTrafficImpactedHasBeenSet() const { return m_percentOfTotalTrafficImpactedHasBeenSet; }
92 inline void SetPercentOfTotalTrafficImpacted(double value) { m_percentOfTotalTrafficImpactedHasBeenSet = true; m_percentOfTotalTrafficImpacted = value; }
95
97
107 inline double GetPercentOfClientLocationImpacted() const{ return m_percentOfClientLocationImpacted; }
108 inline bool PercentOfClientLocationImpactedHasBeenSet() const { return m_percentOfClientLocationImpactedHasBeenSet; }
109 inline void SetPercentOfClientLocationImpacted(double value) { m_percentOfClientLocationImpactedHasBeenSet = true; m_percentOfClientLocationImpacted = value; }
112
114
122 inline const RoundTripTime& GetRoundTripTime() const{ return m_roundTripTime; }
123 inline bool RoundTripTimeHasBeenSet() const { return m_roundTripTimeHasBeenSet; }
124 inline void SetRoundTripTime(const RoundTripTime& value) { m_roundTripTimeHasBeenSet = true; m_roundTripTime = value; }
125 inline void SetRoundTripTime(RoundTripTime&& value) { m_roundTripTimeHasBeenSet = true; m_roundTripTime = std::move(value); }
126 inline PerformanceMeasurement& WithRoundTripTime(const RoundTripTime& value) { SetRoundTripTime(value); return *this;}
127 inline PerformanceMeasurement& WithRoundTripTime(RoundTripTime&& value) { SetRoundTripTime(std::move(value)); return *this;}
129 private:
130
131 double m_experienceScore;
132 bool m_experienceScoreHasBeenSet = false;
133
134 double m_percentOfTotalTrafficImpacted;
135 bool m_percentOfTotalTrafficImpactedHasBeenSet = false;
136
137 double m_percentOfClientLocationImpacted;
138 bool m_percentOfClientLocationImpactedHasBeenSet = false;
139
140 RoundTripTime m_roundTripTime;
141 bool m_roundTripTimeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace InternetMonitor
146} // namespace Aws
PerformanceMeasurement & WithExperienceScore(double value)
PerformanceMeasurement & WithRoundTripTime(const RoundTripTime &value)
PerformanceMeasurement & WithPercentOfClientLocationImpacted(double value)
AWS_INTERNETMONITOR_API PerformanceMeasurement(Aws::Utils::Json::JsonView jsonValue)
PerformanceMeasurement & WithRoundTripTime(RoundTripTime &&value)
PerformanceMeasurement & WithPercentOfTotalTrafficImpacted(double value)
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INTERNETMONITOR_API PerformanceMeasurement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue