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

An object that contains information on the status of Kubernetes data sources * for the detector.

See Also:

AWS * API Reference

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

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline const AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails& GetAuditLogs() const{ return m_auditLogs; } /** *

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline bool AuditLogsHasBeenSet() const { return m_auditLogsHasBeenSet; } /** *

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline void SetAuditLogs(const AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails& value) { m_auditLogsHasBeenSet = true; m_auditLogs = value; } /** *

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline void SetAuditLogs(AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails&& value) { m_auditLogsHasBeenSet = true; m_auditLogs = std::move(value); } /** *

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline AwsGuardDutyDetectorDataSourcesKubernetesDetails& WithAuditLogs(const AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails& value) { SetAuditLogs(value); return *this;} /** *

Describes whether Kubernetes audit logs are activated as a data source for * the detector.

*/ inline AwsGuardDutyDetectorDataSourcesKubernetesDetails& WithAuditLogs(AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails&& value) { SetAuditLogs(std::move(value)); return *this;} private: AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails m_auditLogs; bool m_auditLogsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws