AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CloudFormationHealth.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/InsightHealth.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
35 {
36 public:
37 AWS_DEVOPSGURU_API CloudFormationHealth() = default;
38 AWS_DEVOPSGURU_API CloudFormationHealth(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetStackName() const { return m_stackName; }
48 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
49 template<typename StackNameT = Aws::String>
50 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
51 template<typename StackNameT = Aws::String>
52 CloudFormationHealth& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
54
56
62 inline const InsightHealth& GetInsight() const { return m_insight; }
63 inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; }
64 template<typename InsightT = InsightHealth>
65 void SetInsight(InsightT&& value) { m_insightHasBeenSet = true; m_insight = std::forward<InsightT>(value); }
66 template<typename InsightT = InsightHealth>
67 CloudFormationHealth& WithInsight(InsightT&& value) { SetInsight(std::forward<InsightT>(value)); return *this;}
69
71
75 inline long long GetAnalyzedResourceCount() const { return m_analyzedResourceCount; }
76 inline bool AnalyzedResourceCountHasBeenSet() const { return m_analyzedResourceCountHasBeenSet; }
77 inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCountHasBeenSet = true; m_analyzedResourceCount = value; }
78 inline CloudFormationHealth& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;}
80 private:
81
82 Aws::String m_stackName;
83 bool m_stackNameHasBeenSet = false;
84
85 InsightHealth m_insight;
86 bool m_insightHasBeenSet = false;
87
88 long long m_analyzedResourceCount{0};
89 bool m_analyzedResourceCountHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DevOpsGuru
94} // namespace Aws
AWS_DEVOPSGURU_API CloudFormationHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API CloudFormationHealth(Aws::Utils::Json::JsonView jsonValue)
CloudFormationHealth & WithInsight(InsightT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
CloudFormationHealth & WithStackName(StackNameT &&value)
AWS_DEVOPSGURU_API CloudFormationHealth()=default
CloudFormationHealth & WithAnalyzedResourceCount(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue