AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeOrganizationHealthResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace DevOpsGuru {
22namespace Model {
24 public:
25 AWS_DEVOPSGURU_API DescribeOrganizationHealthResult() = default;
28
30
34 inline int GetOpenReactiveInsights() const { return m_openReactiveInsights; }
35 inline void SetOpenReactiveInsights(int value) {
36 m_openReactiveInsightsHasBeenSet = true;
37 m_openReactiveInsights = value;
38 }
41 return *this;
42 }
44
46
50 inline int GetOpenProactiveInsights() const { return m_openProactiveInsights; }
51 inline void SetOpenProactiveInsights(int value) {
52 m_openProactiveInsightsHasBeenSet = true;
53 m_openProactiveInsights = value;
54 }
57 return *this;
58 }
60
62
66 inline int GetMetricsAnalyzed() const { return m_metricsAnalyzed; }
67 inline void SetMetricsAnalyzed(int value) {
68 m_metricsAnalyzedHasBeenSet = true;
69 m_metricsAnalyzed = value;
70 }
72 SetMetricsAnalyzed(value);
73 return *this;
74 }
76
78
82 inline long long GetResourceHours() const { return m_resourceHours; }
83 inline void SetResourceHours(long long value) {
84 m_resourceHoursHasBeenSet = true;
85 m_resourceHours = value;
86 }
88 SetResourceHours(value);
89 return *this;
90 }
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template <typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) {
98 m_requestIdHasBeenSet = true;
99 m_requestId = std::forward<RequestIdT>(value);
100 }
101 template <typename RequestIdT = Aws::String>
103 SetRequestId(std::forward<RequestIdT>(value));
104 return *this;
105 }
107 private:
108 int m_openReactiveInsights{0};
109 bool m_openReactiveInsightsHasBeenSet = false;
110
111 int m_openProactiveInsights{0};
112 bool m_openProactiveInsightsHasBeenSet = false;
113
114 int m_metricsAnalyzed{0};
115 bool m_metricsAnalyzedHasBeenSet = false;
116
117 long long m_resourceHours{0};
118 bool m_resourceHoursHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace DevOpsGuru
126} // namespace Aws
DescribeOrganizationHealthResult & WithOpenReactiveInsights(int value)
AWS_DEVOPSGURU_API DescribeOrganizationHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVOPSGURU_API DescribeOrganizationHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationHealthResult & WithOpenProactiveInsights(int value)
DescribeOrganizationHealthResult & WithRequestId(RequestIdT &&value)
DescribeOrganizationHealthResult & WithResourceHours(long long value)
AWS_DEVOPSGURU_API DescribeOrganizationHealthResult()=default
DescribeOrganizationHealthResult & WithMetricsAnalyzed(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue