/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes which data sources are activated for the detector. See
* Also:
AWS
* API Reference
An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesCloudTrailDetails& GetCloudTrail() const{ return m_cloudTrail; } /** *An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline bool CloudTrailHasBeenSet() const { return m_cloudTrailHasBeenSet; } /** *An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline void SetCloudTrail(const AwsGuardDutyDetectorDataSourcesCloudTrailDetails& value) { m_cloudTrailHasBeenSet = true; m_cloudTrail = value; } /** *An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline void SetCloudTrail(AwsGuardDutyDetectorDataSourcesCloudTrailDetails&& value) { m_cloudTrailHasBeenSet = true; m_cloudTrail = std::move(value); } /** *An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithCloudTrail(const AwsGuardDutyDetectorDataSourcesCloudTrailDetails& value) { SetCloudTrail(value); return *this;} /** *An object that contains information on the status of CloudTrail as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithCloudTrail(AwsGuardDutyDetectorDataSourcesCloudTrailDetails&& value) { SetCloudTrail(std::move(value)); return *this;} /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesDnsLogsDetails& GetDnsLogs() const{ return m_dnsLogs; } /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline bool DnsLogsHasBeenSet() const { return m_dnsLogsHasBeenSet; } /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline void SetDnsLogs(const AwsGuardDutyDetectorDataSourcesDnsLogsDetails& value) { m_dnsLogsHasBeenSet = true; m_dnsLogs = value; } /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline void SetDnsLogs(AwsGuardDutyDetectorDataSourcesDnsLogsDetails&& value) { m_dnsLogsHasBeenSet = true; m_dnsLogs = std::move(value); } /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithDnsLogs(const AwsGuardDutyDetectorDataSourcesDnsLogsDetails& value) { SetDnsLogs(value); return *this;} /** *An object that contains information on the status of DNS logs as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithDnsLogs(AwsGuardDutyDetectorDataSourcesDnsLogsDetails&& value) { SetDnsLogs(std::move(value)); return *this;} /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesFlowLogsDetails& GetFlowLogs() const{ return m_flowLogs; } /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline bool FlowLogsHasBeenSet() const { return m_flowLogsHasBeenSet; } /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline void SetFlowLogs(const AwsGuardDutyDetectorDataSourcesFlowLogsDetails& value) { m_flowLogsHasBeenSet = true; m_flowLogs = value; } /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline void SetFlowLogs(AwsGuardDutyDetectorDataSourcesFlowLogsDetails&& value) { m_flowLogsHasBeenSet = true; m_flowLogs = std::move(value); } /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithFlowLogs(const AwsGuardDutyDetectorDataSourcesFlowLogsDetails& value) { SetFlowLogs(value); return *this;} /** *An object that contains information on the status of VPC Flow Logs as a data * source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithFlowLogs(AwsGuardDutyDetectorDataSourcesFlowLogsDetails&& value) { SetFlowLogs(std::move(value)); return *this;} /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesKubernetesDetails& GetKubernetes() const{ return m_kubernetes; } /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline bool KubernetesHasBeenSet() const { return m_kubernetesHasBeenSet; } /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline void SetKubernetes(const AwsGuardDutyDetectorDataSourcesKubernetesDetails& value) { m_kubernetesHasBeenSet = true; m_kubernetes = value; } /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline void SetKubernetes(AwsGuardDutyDetectorDataSourcesKubernetesDetails&& value) { m_kubernetesHasBeenSet = true; m_kubernetes = std::move(value); } /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithKubernetes(const AwsGuardDutyDetectorDataSourcesKubernetesDetails& value) { SetKubernetes(value); return *this;} /** *An object that contains information on the status of Kubernetes data sources * for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithKubernetes(AwsGuardDutyDetectorDataSourcesKubernetesDetails&& value) { SetKubernetes(std::move(value)); return *this;} /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& GetMalwareProtection() const{ return m_malwareProtection; } /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline bool MalwareProtectionHasBeenSet() const { return m_malwareProtectionHasBeenSet; } /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline void SetMalwareProtection(const AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& value) { m_malwareProtectionHasBeenSet = true; m_malwareProtection = value; } /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline void SetMalwareProtection(AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails&& value) { m_malwareProtectionHasBeenSet = true; m_malwareProtection = std::move(value); } /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithMalwareProtection(const AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& value) { SetMalwareProtection(value); return *this;} /** *An object that contains information on the status of Malware Protection as a * data source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithMalwareProtection(AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails&& value) { SetMalwareProtection(std::move(value)); return *this;} /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline const AwsGuardDutyDetectorDataSourcesS3LogsDetails& GetS3Logs() const{ return m_s3Logs; } /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; } /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline void SetS3Logs(const AwsGuardDutyDetectorDataSourcesS3LogsDetails& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; } /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline void SetS3Logs(AwsGuardDutyDetectorDataSourcesS3LogsDetails&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); } /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithS3Logs(const AwsGuardDutyDetectorDataSourcesS3LogsDetails& value) { SetS3Logs(value); return *this;} /** *An object that contains information on the status of S3 Data event logs as a * data source for the detector.
*/ inline AwsGuardDutyDetectorDataSourcesDetails& WithS3Logs(AwsGuardDutyDetectorDataSourcesS3LogsDetails&& value) { SetS3Logs(std::move(value)); return *this;} private: AwsGuardDutyDetectorDataSourcesCloudTrailDetails m_cloudTrail; bool m_cloudTrailHasBeenSet = false; AwsGuardDutyDetectorDataSourcesDnsLogsDetails m_dnsLogs; bool m_dnsLogsHasBeenSet = false; AwsGuardDutyDetectorDataSourcesFlowLogsDetails m_flowLogs; bool m_flowLogsHasBeenSet = false; AwsGuardDutyDetectorDataSourcesKubernetesDetails m_kubernetes; bool m_kubernetesHasBeenSet = false; AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails m_malwareProtection; bool m_malwareProtectionHasBeenSet = false; AwsGuardDutyDetectorDataSourcesS3LogsDetails m_s3Logs; bool m_s3LogsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws