AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CloudFormationHealth.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9#include <aws/devops-guru/model/InsightHealth.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsGuru {
21namespace Model {
22
31 public:
32 AWS_DEVOPSGURU_API CloudFormationHealth() = default;
33 AWS_DEVOPSGURU_API CloudFormationHealth(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetStackName() const { return m_stackName; }
42 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
43 template <typename StackNameT = Aws::String>
44 void SetStackName(StackNameT&& value) {
45 m_stackNameHasBeenSet = true;
46 m_stackName = std::forward<StackNameT>(value);
47 }
48 template <typename StackNameT = Aws::String>
49 CloudFormationHealth& WithStackName(StackNameT&& value) {
50 SetStackName(std::forward<StackNameT>(value));
51 return *this;
52 }
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) {
66 m_insightHasBeenSet = true;
67 m_insight = std::forward<InsightT>(value);
68 }
69 template <typename InsightT = InsightHealth>
70 CloudFormationHealth& WithInsight(InsightT&& value) {
71 SetInsight(std::forward<InsightT>(value));
72 return *this;
73 }
75
77
81 inline long long GetAnalyzedResourceCount() const { return m_analyzedResourceCount; }
82 inline bool AnalyzedResourceCountHasBeenSet() const { return m_analyzedResourceCountHasBeenSet; }
83 inline void SetAnalyzedResourceCount(long long value) {
84 m_analyzedResourceCountHasBeenSet = true;
85 m_analyzedResourceCount = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_stackName;
94
95 InsightHealth m_insight;
96
97 long long m_analyzedResourceCount{0};
98 bool m_stackNameHasBeenSet = false;
99 bool m_insightHasBeenSet = false;
100 bool m_analyzedResourceCountHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace DevOpsGuru
105} // 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