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

Information about logs for the build project.

See Also:

AWS * API Reference

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

Information about CloudWatch Logs for the build project.

*/ inline const AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& GetCloudWatchLogs() const{ return m_cloudWatchLogs; } /** *

Information about CloudWatch Logs for the build project.

*/ inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; } /** *

Information about CloudWatch Logs for the build project.

*/ inline void SetCloudWatchLogs(const AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; } /** *

Information about CloudWatch Logs for the build project.

*/ inline void SetCloudWatchLogs(AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); } /** *

Information about CloudWatch Logs for the build project.

*/ inline AwsCodeBuildProjectLogsConfigDetails& WithCloudWatchLogs(const AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& value) { SetCloudWatchLogs(value); return *this;} /** *

Information about CloudWatch Logs for the build project.

*/ inline AwsCodeBuildProjectLogsConfigDetails& WithCloudWatchLogs(AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails&& value) { SetCloudWatchLogs(std::move(value)); return *this;} /** *

Information about logs built to an S3 bucket for a build project.

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

Information about logs built to an S3 bucket for a build project.

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

Information about logs built to an S3 bucket for a build project.

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

Information about logs built to an S3 bucket for a build project.

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

Information about logs built to an S3 bucket for a build project.

*/ inline AwsCodeBuildProjectLogsConfigDetails& WithS3Logs(const AwsCodeBuildProjectLogsConfigS3LogsDetails& value) { SetS3Logs(value); return *this;} /** *

Information about logs built to an S3 bucket for a build project.

*/ inline AwsCodeBuildProjectLogsConfigDetails& WithS3Logs(AwsCodeBuildProjectLogsConfigS3LogsDetails&& value) { SetS3Logs(std::move(value)); return *this;} private: AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails m_cloudWatchLogs; bool m_cloudWatchLogsHasBeenSet = false; AwsCodeBuildProjectLogsConfigS3LogsDetails m_s3Logs; bool m_s3LogsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws