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

The current configuration of all Kubernetes data sources for the * organization.

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

*/ inline OrganizationKubernetesConfigurationResult& WithAuditLogs(const OrganizationKubernetesAuditLogsConfigurationResult& value) { SetAuditLogs(value); return *this;} /** *

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

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