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

Information about the EKS cluster that has a coverage status.

See * Also:

AWS * API Reference

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

Name of the EKS cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

Name of the EKS cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

Name of the EKS cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

Name of the EKS cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

Name of the EKS cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

Name of the EKS cluster.

*/ inline CoverageEksClusterDetails& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

Name of the EKS cluster.

*/ inline CoverageEksClusterDetails& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

Name of the EKS cluster.

*/ inline CoverageEksClusterDetails& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

Represents the nodes within the EKS cluster that have a HEALTHY * coverage status.

*/ inline long long GetCoveredNodes() const{ return m_coveredNodes; } /** *

Represents the nodes within the EKS cluster that have a HEALTHY * coverage status.

*/ inline bool CoveredNodesHasBeenSet() const { return m_coveredNodesHasBeenSet; } /** *

Represents the nodes within the EKS cluster that have a HEALTHY * coverage status.

*/ inline void SetCoveredNodes(long long value) { m_coveredNodesHasBeenSet = true; m_coveredNodes = value; } /** *

Represents the nodes within the EKS cluster that have a HEALTHY * coverage status.

*/ inline CoverageEksClusterDetails& WithCoveredNodes(long long value) { SetCoveredNodes(value); return *this;} /** *

Represents all the nodes within the EKS cluster in your account.

*/ inline long long GetCompatibleNodes() const{ return m_compatibleNodes; } /** *

Represents all the nodes within the EKS cluster in your account.

*/ inline bool CompatibleNodesHasBeenSet() const { return m_compatibleNodesHasBeenSet; } /** *

Represents all the nodes within the EKS cluster in your account.

*/ inline void SetCompatibleNodes(long long value) { m_compatibleNodesHasBeenSet = true; m_compatibleNodes = value; } /** *

Represents all the nodes within the EKS cluster in your account.

*/ inline CoverageEksClusterDetails& WithCompatibleNodes(long long value) { SetCompatibleNodes(value); return *this;} /** *

Information about the installed EKS add-on.

*/ inline const AddonDetails& GetAddonDetails() const{ return m_addonDetails; } /** *

Information about the installed EKS add-on.

*/ inline bool AddonDetailsHasBeenSet() const { return m_addonDetailsHasBeenSet; } /** *

Information about the installed EKS add-on.

*/ inline void SetAddonDetails(const AddonDetails& value) { m_addonDetailsHasBeenSet = true; m_addonDetails = value; } /** *

Information about the installed EKS add-on.

*/ inline void SetAddonDetails(AddonDetails&& value) { m_addonDetailsHasBeenSet = true; m_addonDetails = std::move(value); } /** *

Information about the installed EKS add-on.

*/ inline CoverageEksClusterDetails& WithAddonDetails(const AddonDetails& value) { SetAddonDetails(value); return *this;} /** *

Information about the installed EKS add-on.

*/ inline CoverageEksClusterDetails& WithAddonDetails(AddonDetails&& value) { SetAddonDetails(std::move(value)); return *this;} private: Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; long long m_coveredNodes; bool m_coveredNodesHasBeenSet = false; long long m_compatibleNodes; bool m_compatibleNodesHasBeenSet = false; AddonDetails m_addonDetails; bool m_addonDetailsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws