AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InsightHealth.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace DevOpsGuru {
17namespace Model {
18
26 public:
27 AWS_DEVOPSGURU_API InsightHealth() = default;
28 AWS_DEVOPSGURU_API InsightHealth(Aws::Utils::Json::JsonView jsonValue);
29 AWS_DEVOPSGURU_API InsightHealth& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetOpenProactiveInsights() const { return m_openProactiveInsights; }
37 inline bool OpenProactiveInsightsHasBeenSet() const { return m_openProactiveInsightsHasBeenSet; }
38 inline void SetOpenProactiveInsights(int value) {
39 m_openProactiveInsightsHasBeenSet = true;
40 m_openProactiveInsights = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetOpenReactiveInsights() const { return m_openReactiveInsights; }
53 inline bool OpenReactiveInsightsHasBeenSet() const { return m_openReactiveInsightsHasBeenSet; }
54 inline void SetOpenReactiveInsights(int value) {
55 m_openReactiveInsightsHasBeenSet = true;
56 m_openReactiveInsights = value;
57 }
60 return *this;
61 }
63
65
68 inline long long GetMeanTimeToRecoverInMilliseconds() const { return m_meanTimeToRecoverInMilliseconds; }
69 inline bool MeanTimeToRecoverInMillisecondsHasBeenSet() const { return m_meanTimeToRecoverInMillisecondsHasBeenSet; }
70 inline void SetMeanTimeToRecoverInMilliseconds(long long value) {
71 m_meanTimeToRecoverInMillisecondsHasBeenSet = true;
72 m_meanTimeToRecoverInMilliseconds = value;
73 }
76 return *this;
77 }
79 private:
80 int m_openProactiveInsights{0};
81
82 int m_openReactiveInsights{0};
83
84 long long m_meanTimeToRecoverInMilliseconds{0};
85 bool m_openProactiveInsightsHasBeenSet = false;
86 bool m_openReactiveInsightsHasBeenSet = false;
87 bool m_meanTimeToRecoverInMillisecondsHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace DevOpsGuru
92} // namespace Aws
AWS_DEVOPSGURU_API InsightHealth(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API InsightHealth()=default
long long GetMeanTimeToRecoverInMilliseconds() const
InsightHealth & WithOpenProactiveInsights(int value)
AWS_DEVOPSGURU_API InsightHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
InsightHealth & WithOpenReactiveInsights(int value)
void SetMeanTimeToRecoverInMilliseconds(long long value)
InsightHealth & WithMeanTimeToRecoverInMilliseconds(long long value)
Aws::Utils::Json::JsonValue JsonValue