AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HealthEventsConfig.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/internetmonitor/model/LocalHealthEventsConfig.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
50 {
51 public:
52 AWS_INTERNETMONITOR_API HealthEventsConfig();
53 AWS_INTERNETMONITOR_API HealthEventsConfig(Aws::Utils::Json::JsonView jsonValue);
54 AWS_INTERNETMONITOR_API HealthEventsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
55 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
62 inline double GetAvailabilityScoreThreshold() const{ return m_availabilityScoreThreshold; }
63 inline bool AvailabilityScoreThresholdHasBeenSet() const { return m_availabilityScoreThresholdHasBeenSet; }
64 inline void SetAvailabilityScoreThreshold(double value) { m_availabilityScoreThresholdHasBeenSet = true; m_availabilityScoreThreshold = value; }
67
69
72 inline double GetPerformanceScoreThreshold() const{ return m_performanceScoreThreshold; }
73 inline bool PerformanceScoreThresholdHasBeenSet() const { return m_performanceScoreThresholdHasBeenSet; }
74 inline void SetPerformanceScoreThreshold(double value) { m_performanceScoreThresholdHasBeenSet = true; m_performanceScoreThreshold = value; }
77
79
83 inline const LocalHealthEventsConfig& GetAvailabilityLocalHealthEventsConfig() const{ return m_availabilityLocalHealthEventsConfig; }
84 inline bool AvailabilityLocalHealthEventsConfigHasBeenSet() const { return m_availabilityLocalHealthEventsConfigHasBeenSet; }
85 inline void SetAvailabilityLocalHealthEventsConfig(const LocalHealthEventsConfig& value) { m_availabilityLocalHealthEventsConfigHasBeenSet = true; m_availabilityLocalHealthEventsConfig = value; }
86 inline void SetAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig&& value) { m_availabilityLocalHealthEventsConfigHasBeenSet = true; m_availabilityLocalHealthEventsConfig = std::move(value); }
90
92
96 inline const LocalHealthEventsConfig& GetPerformanceLocalHealthEventsConfig() const{ return m_performanceLocalHealthEventsConfig; }
97 inline bool PerformanceLocalHealthEventsConfigHasBeenSet() const { return m_performanceLocalHealthEventsConfigHasBeenSet; }
98 inline void SetPerformanceLocalHealthEventsConfig(const LocalHealthEventsConfig& value) { m_performanceLocalHealthEventsConfigHasBeenSet = true; m_performanceLocalHealthEventsConfig = value; }
99 inline void SetPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig&& value) { m_performanceLocalHealthEventsConfigHasBeenSet = true; m_performanceLocalHealthEventsConfig = std::move(value); }
103 private:
104
105 double m_availabilityScoreThreshold;
106 bool m_availabilityScoreThresholdHasBeenSet = false;
107
108 double m_performanceScoreThreshold;
109 bool m_performanceScoreThresholdHasBeenSet = false;
110
111 LocalHealthEventsConfig m_availabilityLocalHealthEventsConfig;
112 bool m_availabilityLocalHealthEventsConfigHasBeenSet = false;
113
114 LocalHealthEventsConfig m_performanceLocalHealthEventsConfig;
115 bool m_performanceLocalHealthEventsConfigHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace InternetMonitor
120} // namespace Aws
HealthEventsConfig & WithAvailabilityLocalHealthEventsConfig(const LocalHealthEventsConfig &value)
const LocalHealthEventsConfig & GetPerformanceLocalHealthEventsConfig() const
void SetPerformanceLocalHealthEventsConfig(const LocalHealthEventsConfig &value)
AWS_INTERNETMONITOR_API HealthEventsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API HealthEventsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
HealthEventsConfig & WithPerformanceLocalHealthEventsConfig(const LocalHealthEventsConfig &value)
HealthEventsConfig & WithPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig &&value)
void SetAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig &&value)
HealthEventsConfig & WithAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig &&value)
void SetAvailabilityLocalHealthEventsConfig(const LocalHealthEventsConfig &value)
HealthEventsConfig & WithPerformanceScoreThreshold(double value)
void SetPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig &&value)
HealthEventsConfig & WithAvailabilityScoreThreshold(double value)
const LocalHealthEventsConfig & GetAvailabilityLocalHealthEventsConfig() const
Aws::Utils::Json::JsonValue JsonValue