AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAccountHealthResult.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 DescribeAccountHealthResult() = 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; }
62 inline DescribeAccountHealthResult& WithMetricsAnalyzed(int value) { SetMetricsAnalyzed(value); return *this;}
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 DescribeAccountHealthResult& WithResourceHours(long long value) { SetResourceHours(value); return *this;}
74
76
80 inline long long GetAnalyzedResourceCount() const { return m_analyzedResourceCount; }
81 inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCountHasBeenSet = true; m_analyzedResourceCount = value; }
82 inline DescribeAccountHealthResult& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 DescribeAccountHealthResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 int m_openReactiveInsights{0};
96 bool m_openReactiveInsightsHasBeenSet = false;
97
98 int m_openProactiveInsights{0};
99 bool m_openProactiveInsightsHasBeenSet = false;
100
101 int m_metricsAnalyzed{0};
102 bool m_metricsAnalyzedHasBeenSet = false;
103
104 long long m_resourceHours{0};
105 bool m_resourceHoursHasBeenSet = false;
106
107 long long m_analyzedResourceCount{0};
108 bool m_analyzedResourceCountHasBeenSet = false;
109
110 Aws::String m_requestId;
111 bool m_requestIdHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DevOpsGuru
116} // namespace Aws
DescribeAccountHealthResult & WithAnalyzedResourceCount(long long value)
AWS_DEVOPSGURU_API DescribeAccountHealthResult()=default
DescribeAccountHealthResult & WithResourceHours(long long value)
AWS_DEVOPSGURU_API DescribeAccountHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountHealthResult & WithMetricsAnalyzed(int value)
DescribeAccountHealthResult & WithRequestId(RequestIdT &&value)
DescribeAccountHealthResult & WithOpenReactiveInsights(int value)
DescribeAccountHealthResult & WithOpenProactiveInsights(int value)
AWS_DEVOPSGURU_API DescribeAccountHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue