/** * 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 { /** *

An object representing the health status of the node group.

See * Also:

AWS * API Reference

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

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

Any issues that are associated with the node group.

*/ inline NodegroupHealth& AddIssues(Issue&& 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