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

Describes whether any Kubernetes data sources are enabled.

See * Also:

AWS * API Reference

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

The status of Kubernetes audit logs as a data source.

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

The status of Kubernetes audit logs as a data source.

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

The status of Kubernetes audit logs as a data source.

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

The status of Kubernetes audit logs as a data source.

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

The status of Kubernetes audit logs as a data source.

*/ inline KubernetesConfiguration& WithAuditLogs(const KubernetesAuditLogsConfiguration& value) { SetAuditLogs(value); return *this;} /** *

The status of Kubernetes audit logs as a data source.

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