/** * 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 SecurityHub { namespace Model { /** *

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

See Also:

AWS * API Reference

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

Whether to disable encryption of the S3 build log output.

*/ inline bool GetEncryptionDisabled() const{ return m_encryptionDisabled; } /** *

Whether to disable encryption of the S3 build log output.

*/ inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; } /** *

Whether to disable encryption of the S3 build log output.

*/ inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; } /** *

Whether to disable encryption of the S3 build log output.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;} /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The ARN of the S3 bucket and the path prefix for S3 logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithLocation(const char* value) { SetLocation(value); return *this;} /** *

The current status of the S3 build logs.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The current status of the S3 build logs.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the S3 build logs.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the S3 build logs.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the S3 build logs.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The current status of the S3 build logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The current status of the S3 build logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The current status of the S3 build logs.

*/ inline AwsCodeBuildProjectLogsConfigS3LogsDetails& WithStatus(const char* value) { SetStatus(value); return *this;} private: bool m_encryptionDisabled; bool m_encryptionDisabledHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws