7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/ServiceName.h>
9#include <aws/devops-guru/model/ServiceInsightHealth.h>
60 template<
typename InsightT = ServiceInsightHealth>
61 void SetInsight(InsightT&& value) { m_insightHasBeenSet =
true; m_insight = std::forward<InsightT>(value); }
62 template<
typename InsightT = ServiceInsightHealth>
73 inline void SetAnalyzedResourceCount(
long long value) { m_analyzedResourceCountHasBeenSet =
true; m_analyzedResourceCount = value; }
79 bool m_serviceNameHasBeenSet =
false;
81 ServiceInsightHealth m_insight;
82 bool m_insightHasBeenSet =
false;
84 long long m_analyzedResourceCount{0};
85 bool m_analyzedResourceCountHasBeenSet =
false;
AWS_DEVOPSGURU_API ServiceHealth(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API ServiceHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInsight(InsightT &&value)
void SetServiceName(ServiceName value)
ServiceHealth & WithServiceName(ServiceName value)
bool InsightHasBeenSet() const
ServiceName GetServiceName() const
AWS_DEVOPSGURU_API ServiceHealth()=default
bool AnalyzedResourceCountHasBeenSet() const
ServiceHealth & WithInsight(InsightT &&value)
const ServiceInsightHealth & GetInsight() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceNameHasBeenSet() const
long long GetAnalyzedResourceCount() const
void SetAnalyzedResourceCount(long long value)
ServiceHealth & WithAnalyzedResourceCount(long long value)
Aws::Utils::Json::JsonValue JsonValue