/** * 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 { /** *

The current configuration of Kubernetes audit logs as a data source for the * organization.

See Also:

AWS * API Reference

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

Whether Kubernetes audit logs data source should be auto-enabled for new * members joining the organization.

*/ inline bool GetAutoEnable() const{ return m_autoEnable; } /** *

Whether Kubernetes audit logs data source should be auto-enabled for new * members joining the organization.

*/ inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; } /** *

Whether Kubernetes audit logs data source should be auto-enabled for new * members joining the organization.

*/ inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; } /** *

Whether Kubernetes audit logs data source should be auto-enabled for new * members joining the organization.

*/ inline OrganizationKubernetesAuditLogsConfigurationResult& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;} private: bool m_autoEnable; bool m_autoEnableHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws