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

Describes whether Kubernetes audit logs are enabled as a data * source.

See Also:

AWS * API Reference

*/ class KubernetesAuditLogsConfiguration { public: AWS_GUARDDUTY_API KubernetesAuditLogsConfiguration(); AWS_GUARDDUTY_API KubernetesAuditLogsConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API KubernetesAuditLogsConfiguration& 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 bool GetEnable() const{ return m_enable; } /** *

The status of Kubernetes audit logs as a data source.

*/ inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; } /** *

The status of Kubernetes audit logs as a data source.

*/ inline void SetEnable(bool value) { m_enableHasBeenSet = true; m_enable = value; } /** *

The status of Kubernetes audit logs as a data source.

*/ inline KubernetesAuditLogsConfiguration& WithEnable(bool value) { SetEnable(value); return *this;} private: bool m_enable; bool m_enableHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws