/** * 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 EKS { namespace Model { /** *

The health of the add-on.

See Also:

AWS API * Reference

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

An object representing the health issues for an add-on.

*/ inline const Aws::Vector& GetIssues() const{ return m_issues; } /** *

An object representing the health issues for an add-on.

*/ inline bool IssuesHasBeenSet() const { return m_issuesHasBeenSet; } /** *

An object representing the health issues for an add-on.

*/ inline void SetIssues(const Aws::Vector& value) { m_issuesHasBeenSet = true; m_issues = value; } /** *

An object representing the health issues for an add-on.

*/ inline void SetIssues(Aws::Vector&& value) { m_issuesHasBeenSet = true; m_issues = std::move(value); } /** *

An object representing the health issues for an add-on.

*/ inline AddonHealth& WithIssues(const Aws::Vector& value) { SetIssues(value); return *this;} /** *

An object representing the health issues for an add-on.

*/ inline AddonHealth& WithIssues(Aws::Vector&& value) { SetIssues(std::move(value)); return *this;} /** *

An object representing the health issues for an add-on.

*/ inline AddonHealth& AddIssues(const AddonIssue& value) { m_issuesHasBeenSet = true; m_issues.push_back(value); return *this; } /** *

An object representing the health issues for an add-on.

*/ inline AddonHealth& AddIssues(AddonIssue&& value) { m_issuesHasBeenSet = true; m_issues.push_back(std::move(value)); return *this; } private: Aws::Vector m_issues; bool m_issuesHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws