AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailabilityMeasurement.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
47 {
48 public:
49 AWS_INTERNETMONITOR_API AvailabilityMeasurement();
50 AWS_INTERNETMONITOR_API AvailabilityMeasurement(Aws::Utils::Json::JsonView jsonValue);
52 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
71 inline double GetExperienceScore() const{ return m_experienceScore; }
72 inline bool ExperienceScoreHasBeenSet() const { return m_experienceScoreHasBeenSet; }
73 inline void SetExperienceScore(double value) { m_experienceScoreHasBeenSet = true; m_experienceScore = value; }
74 inline AvailabilityMeasurement& WithExperienceScore(double value) { SetExperienceScore(value); return *this;}
76
78
89 inline double GetPercentOfTotalTrafficImpacted() const{ return m_percentOfTotalTrafficImpacted; }
90 inline bool PercentOfTotalTrafficImpactedHasBeenSet() const { return m_percentOfTotalTrafficImpactedHasBeenSet; }
91 inline void SetPercentOfTotalTrafficImpacted(double value) { m_percentOfTotalTrafficImpactedHasBeenSet = true; m_percentOfTotalTrafficImpacted = value; }
94
96
104 inline double GetPercentOfClientLocationImpacted() const{ return m_percentOfClientLocationImpacted; }
105 inline bool PercentOfClientLocationImpactedHasBeenSet() const { return m_percentOfClientLocationImpactedHasBeenSet; }
106 inline void SetPercentOfClientLocationImpacted(double value) { m_percentOfClientLocationImpactedHasBeenSet = true; m_percentOfClientLocationImpacted = value; }
109 private:
110
111 double m_experienceScore;
112 bool m_experienceScoreHasBeenSet = false;
113
114 double m_percentOfTotalTrafficImpacted;
115 bool m_percentOfTotalTrafficImpactedHasBeenSet = false;
116
117 double m_percentOfClientLocationImpacted;
118 bool m_percentOfClientLocationImpactedHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace InternetMonitor
123} // namespace Aws
AWS_INTERNETMONITOR_API AvailabilityMeasurement & operator=(Aws::Utils::Json::JsonView jsonValue)
AvailabilityMeasurement & WithPercentOfClientLocationImpacted(double value)
AvailabilityMeasurement & WithExperienceScore(double value)
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
AvailabilityMeasurement & WithPercentOfTotalTrafficImpacted(double value)
AWS_INTERNETMONITOR_API AvailabilityMeasurement(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue