AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceHealth.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/ServiceName.h>
9#include <aws/devops-guru/model/ServiceInsightHealth.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEVOPSGURU_API ServiceHealth();
37 AWS_DEVOPSGURU_API ServiceHealth(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEVOPSGURU_API ServiceHealth& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ServiceName& GetServiceName() const{ return m_serviceName; }
47 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
48 inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
49 inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
50 inline ServiceHealth& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;}
51 inline ServiceHealth& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;}
53
55
60 inline const ServiceInsightHealth& GetInsight() const{ return m_insight; }
61 inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; }
62 inline void SetInsight(const ServiceInsightHealth& value) { m_insightHasBeenSet = true; m_insight = value; }
63 inline void SetInsight(ServiceInsightHealth&& value) { m_insightHasBeenSet = true; m_insight = std::move(value); }
64 inline ServiceHealth& WithInsight(const ServiceInsightHealth& value) { SetInsight(value); return *this;}
65 inline ServiceHealth& WithInsight(ServiceInsightHealth&& value) { SetInsight(std::move(value)); return *this;}
67
69
73 inline long long GetAnalyzedResourceCount() const{ return m_analyzedResourceCount; }
74 inline bool AnalyzedResourceCountHasBeenSet() const { return m_analyzedResourceCountHasBeenSet; }
75 inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCountHasBeenSet = true; m_analyzedResourceCount = value; }
76 inline ServiceHealth& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;}
78 private:
79
80 ServiceName m_serviceName;
81 bool m_serviceNameHasBeenSet = false;
82
83 ServiceInsightHealth m_insight;
84 bool m_insightHasBeenSet = false;
85
86 long long m_analyzedResourceCount;
87 bool m_analyzedResourceCountHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DevOpsGuru
92} // namespace Aws
AWS_DEVOPSGURU_API ServiceHealth(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API ServiceHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceHealth & WithServiceName(const ServiceName &value)
void SetInsight(const ServiceInsightHealth &value)
ServiceHealth & WithInsight(const ServiceInsightHealth &value)
ServiceHealth & WithInsight(ServiceInsightHealth &&value)
void SetServiceName(ServiceName &&value)
void SetInsight(ServiceInsightHealth &&value)
void SetServiceName(const ServiceName &value)
const ServiceName & GetServiceName() const
const ServiceInsightHealth & GetInsight() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceHealth & WithServiceName(ServiceName &&value)
void SetAnalyzedResourceCount(long long value)
ServiceHealth & WithAnalyzedResourceCount(long long value)
Aws::Utils::Json::JsonValue JsonValue