AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeOrganizationHealthResult.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DevOpsGuru
24{
25namespace Model
26{
28 {
29 public:
30 AWS_DEVOPSGURU_API DescribeOrganizationHealthResult() = default;
33
34
36
40 inline int GetOpenReactiveInsights() const { return m_openReactiveInsights; }
41 inline void SetOpenReactiveInsights(int value) { m_openReactiveInsightsHasBeenSet = true; m_openReactiveInsights = value; }
44
46
50 inline int GetOpenProactiveInsights() const { return m_openProactiveInsights; }
51 inline void SetOpenProactiveInsights(int value) { m_openProactiveInsightsHasBeenSet = true; m_openProactiveInsights = value; }
54
56
60 inline int GetMetricsAnalyzed() const { return m_metricsAnalyzed; }
61 inline void SetMetricsAnalyzed(int value) { m_metricsAnalyzedHasBeenSet = true; m_metricsAnalyzed = value; }
64
66
70 inline long long GetResourceHours() const { return m_resourceHours; }
71 inline void SetResourceHours(long long value) { m_resourceHoursHasBeenSet = true; m_resourceHours = value; }
72 inline DescribeOrganizationHealthResult& WithResourceHours(long long value) { SetResourceHours(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 DescribeOrganizationHealthResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 int m_openReactiveInsights{0};
86 bool m_openReactiveInsightsHasBeenSet = false;
87
88 int m_openProactiveInsights{0};
89 bool m_openProactiveInsightsHasBeenSet = false;
90
91 int m_metricsAnalyzed{0};
92 bool m_metricsAnalyzedHasBeenSet = false;
93
94 long long m_resourceHours{0};
95 bool m_resourceHoursHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DevOpsGuru
103} // 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