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

An object that contains information on which data sources will be configured * to be automatically enabled for new members within the * organization.

See Also:

AWS * API Reference

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

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline const OrganizationS3LogsConfiguration& GetS3Logs() const{ return m_s3Logs; } /** *

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; } /** *

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline void SetS3Logs(const OrganizationS3LogsConfiguration& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; } /** *

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline void SetS3Logs(OrganizationS3LogsConfiguration&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); } /** *

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline OrganizationDataSourceConfigurations& WithS3Logs(const OrganizationS3LogsConfiguration& value) { SetS3Logs(value); return *this;} /** *

Describes whether S3 data event logs are enabled for new members of the * organization.

*/ inline OrganizationDataSourceConfigurations& WithS3Logs(OrganizationS3LogsConfiguration&& value) { SetS3Logs(std::move(value)); return *this;} private: OrganizationS3LogsConfiguration m_s3Logs; bool m_s3LogsHasBeenSet; }; } // namespace Model } // namespace GuardDuty } // namespace Aws