AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InternetHealth.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/internetmonitor/model/AvailabilityMeasurement.h>
9#include <aws/internetmonitor/model/PerformanceMeasurement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace InternetMonitor
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_INTERNETMONITOR_API InternetHealth();
45 AWS_INTERNETMONITOR_API InternetHealth(Aws::Utils::Json::JsonView jsonValue);
46 AWS_INTERNETMONITOR_API InternetHealth& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
62 inline const AvailabilityMeasurement& GetAvailability() const{ return m_availability; }
63 inline bool AvailabilityHasBeenSet() const { return m_availabilityHasBeenSet; }
64 inline void SetAvailability(const AvailabilityMeasurement& value) { m_availabilityHasBeenSet = true; m_availability = value; }
65 inline void SetAvailability(AvailabilityMeasurement&& value) { m_availabilityHasBeenSet = true; m_availability = std::move(value); }
66 inline InternetHealth& WithAvailability(const AvailabilityMeasurement& value) { SetAvailability(value); return *this;}
67 inline InternetHealth& WithAvailability(AvailabilityMeasurement&& value) { SetAvailability(std::move(value)); return *this;}
69
71
82 inline const PerformanceMeasurement& GetPerformance() const{ return m_performance; }
83 inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; }
84 inline void SetPerformance(const PerformanceMeasurement& value) { m_performanceHasBeenSet = true; m_performance = value; }
85 inline void SetPerformance(PerformanceMeasurement&& value) { m_performanceHasBeenSet = true; m_performance = std::move(value); }
86 inline InternetHealth& WithPerformance(const PerformanceMeasurement& value) { SetPerformance(value); return *this;}
87 inline InternetHealth& WithPerformance(PerformanceMeasurement&& value) { SetPerformance(std::move(value)); return *this;}
89 private:
90
91 AvailabilityMeasurement m_availability;
92 bool m_availabilityHasBeenSet = false;
93
94 PerformanceMeasurement m_performance;
95 bool m_performanceHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace InternetMonitor
100} // namespace Aws
void SetAvailability(AvailabilityMeasurement &&value)
InternetHealth & WithAvailability(AvailabilityMeasurement &&value)
InternetHealth & WithPerformance(const PerformanceMeasurement &value)
InternetHealth & WithPerformance(PerformanceMeasurement &&value)
void SetAvailability(const AvailabilityMeasurement &value)
const AvailabilityMeasurement & GetAvailability() const
AWS_INTERNETMONITOR_API InternetHealth()
void SetPerformance(const PerformanceMeasurement &value)
AWS_INTERNETMONITOR_API InternetHealth(Aws::Utils::Json::JsonView jsonValue)
void SetPerformance(PerformanceMeasurement &&value)
InternetHealth & WithAvailability(const AvailabilityMeasurement &value)
AWS_INTERNETMONITOR_API InternetHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
const PerformanceMeasurement & GetPerformance() const
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue