/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { /** *

Information about the health of Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack. *

See Also:

AWS * API Reference

*/ class CloudFormationHealth { public: AWS_DEVOPSGURU_API CloudFormationHealth(); AWS_DEVOPSGURU_API CloudFormationHealth(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API CloudFormationHealth& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the CloudFormation stack.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The name of the CloudFormation stack.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The name of the CloudFormation stack.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

The name of the CloudFormation stack.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

The name of the CloudFormation stack.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

The name of the CloudFormation stack.

*/ inline CloudFormationHealth& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The name of the CloudFormation stack.

*/ inline CloudFormationHealth& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The name of the CloudFormation stack.

*/ inline CloudFormationHealth& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline const InsightHealth& GetInsight() const{ return m_insight; } /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; } /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline void SetInsight(const InsightHealth& value) { m_insightHasBeenSet = true; m_insight = value; } /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline void SetInsight(InsightHealth&& value) { m_insightHasBeenSet = true; m_insight = std::move(value); } /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline CloudFormationHealth& WithInsight(const InsightHealth& value) { SetInsight(value); return *this;} /** *

Information about the health of the Amazon Web Services resources in your * account that are specified by an Amazon Web Services CloudFormation stack, * including the number of open proactive, open reactive insights, and the Mean * Time to Recover (MTTR) of closed insights.

*/ inline CloudFormationHealth& WithInsight(InsightHealth&& value) { SetInsight(std::move(value)); return *this;} /** *

Number of resources that DevOps Guru is monitoring in your account that are * specified by an Amazon Web Services CloudFormation stack.

*/ inline long long GetAnalyzedResourceCount() const{ return m_analyzedResourceCount; } /** *

Number of resources that DevOps Guru is monitoring in your account that are * specified by an Amazon Web Services CloudFormation stack.

*/ inline bool AnalyzedResourceCountHasBeenSet() const { return m_analyzedResourceCountHasBeenSet; } /** *

Number of resources that DevOps Guru is monitoring in your account that are * specified by an Amazon Web Services CloudFormation stack.

*/ inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCountHasBeenSet = true; m_analyzedResourceCount = value; } /** *

Number of resources that DevOps Guru is monitoring in your account that are * specified by an Amazon Web Services CloudFormation stack.

*/ inline CloudFormationHealth& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;} private: Aws::String m_stackName; bool m_stackNameHasBeenSet = false; InsightHealth m_insight; bool m_insightHasBeenSet = false; long long m_analyzedResourceCount; bool m_analyzedResourceCountHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws