AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeOrganizationHealthResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru {
23namespace Model {
25 public:
26 AWS_DEVOPSGURU_API DescribeOrganizationHealthResult() = default;
29
31
35 inline int GetOpenReactiveInsights() const { return m_openReactiveInsights; }
36 inline void SetOpenReactiveInsights(int value) {
37 m_openReactiveInsightsHasBeenSet = true;
38 m_openReactiveInsights = value;
39 }
42 return *this;
43 }
45
47
51 inline int GetOpenProactiveInsights() const { return m_openProactiveInsights; }
52 inline void SetOpenProactiveInsights(int value) {
53 m_openProactiveInsightsHasBeenSet = true;
54 m_openProactiveInsights = value;
55 }
58 return *this;
59 }
61
63
67 inline int GetMetricsAnalyzed() const { return m_metricsAnalyzed; }
68 inline void SetMetricsAnalyzed(int value) {
69 m_metricsAnalyzedHasBeenSet = true;
70 m_metricsAnalyzed = value;
71 }
73 SetMetricsAnalyzed(value);
74 return *this;
75 }
77
79
83 inline long long GetResourceHours() const { return m_resourceHours; }
84 inline void SetResourceHours(long long value) {
85 m_resourceHoursHasBeenSet = true;
86 m_resourceHours = value;
87 }
89 SetResourceHours(value);
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
109
110 private:
111 int m_openReactiveInsights{0};
112
113 int m_openProactiveInsights{0};
114
115 int m_metricsAnalyzed{0};
116
117 long long m_resourceHours{0};
118
119 Aws::String m_requestId;
120 Aws::Http::HttpResponseCode m_HttpResponseCode;
121 bool m_openReactiveInsightsHasBeenSet = false;
122 bool m_openProactiveInsightsHasBeenSet = false;
123 bool m_metricsAnalyzedHasBeenSet = false;
124 bool m_resourceHoursHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace DevOpsGuru
130} // 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