AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
50 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
51 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
52 inline CloudFormationHealth& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
53 inline CloudFormationHealth& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
54 inline CloudFormationHealth& WithStackName(const char* value) { SetStackName(value); return *this;}
56
58
64 inline const InsightHealth& GetInsight() const{ return m_insight; }
65 inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; }
66 inline void SetInsight(const InsightHealth& value) { m_insightHasBeenSet = true; m_insight = value; }
67 inline void SetInsight(InsightHealth&& value) { m_insightHasBeenSet = true; m_insight = std::move(value); }
68 inline CloudFormationHealth& WithInsight(const InsightHealth& value) { SetInsight(value); return *this;}
69 inline CloudFormationHealth& WithInsight(InsightHealth&& value) { SetInsight(std::move(value)); return *this;}
71
73
77 inline long long GetAnalyzedResourceCount() const{ return m_analyzedResourceCount; }
78 inline bool AnalyzedResourceCountHasBeenSet() const { return m_analyzedResourceCountHasBeenSet; }
79 inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCountHasBeenSet = true; m_analyzedResourceCount = value; }
80 inline CloudFormationHealth& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;}
82 private:
83
84 Aws::String m_stackName;
85 bool m_stackNameHasBeenSet = false;
86
87 InsightHealth m_insight;
88 bool m_insightHasBeenSet = false;
89
90 long long m_analyzedResourceCount;
91 bool m_analyzedResourceCountHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DevOpsGuru
96} // namespace Aws
CloudFormationHealth & WithInsight(InsightHealth &&value)
CloudFormationHealth & WithInsight(const InsightHealth &value)
CloudFormationHealth & WithStackName(const char *value)
AWS_DEVOPSGURU_API CloudFormationHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API CloudFormationHealth(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInsight(const InsightHealth &value)
CloudFormationHealth & WithStackName(Aws::String &&value)
CloudFormationHealth & WithAnalyzedResourceCount(long long value)
CloudFormationHealth & WithStackName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue