/** * 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 resource for each individual EKS cluster.

See * Also:

AWS * API Reference

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

EKS cluster details involved in the coverage statistics.

*/ inline const CoverageEksClusterDetails& GetEksClusterDetails() const{ return m_eksClusterDetails; } /** *

EKS cluster details involved in the coverage statistics.

*/ inline bool EksClusterDetailsHasBeenSet() const { return m_eksClusterDetailsHasBeenSet; } /** *

EKS cluster details involved in the coverage statistics.

*/ inline void SetEksClusterDetails(const CoverageEksClusterDetails& value) { m_eksClusterDetailsHasBeenSet = true; m_eksClusterDetails = value; } /** *

EKS cluster details involved in the coverage statistics.

*/ inline void SetEksClusterDetails(CoverageEksClusterDetails&& value) { m_eksClusterDetailsHasBeenSet = true; m_eksClusterDetails = std::move(value); } /** *

EKS cluster details involved in the coverage statistics.

*/ inline CoverageResourceDetails& WithEksClusterDetails(const CoverageEksClusterDetails& value) { SetEksClusterDetails(value); return *this;} /** *

EKS cluster details involved in the coverage statistics.

*/ inline CoverageResourceDetails& WithEksClusterDetails(CoverageEksClusterDetails&& value) { SetEksClusterDetails(std::move(value)); return *this;} /** *

The type of Amazon Web Services resource.

*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *

The type of Amazon Web Services resource.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The type of Amazon Web Services resource.

*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The type of Amazon Web Services resource.

*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The type of Amazon Web Services resource.

*/ inline CoverageResourceDetails& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *

The type of Amazon Web Services resource.

*/ inline CoverageResourceDetails& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} private: CoverageEksClusterDetails m_eksClusterDetails; bool m_eksClusterDetailsHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws