/** * 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 CloudWatch Logs for the build project.

See * Also:

AWS * API Reference

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

The group name of the logs in CloudWatch Logs.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The group name of the logs in CloudWatch Logs.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The group name of the logs in CloudWatch Logs.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The group name of the logs in CloudWatch Logs.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The group name of the logs in CloudWatch Logs.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The group name of the logs in CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The group name of the logs in CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The group name of the logs in CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

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

The current status of the logs in CloudWatch Logs for a build project.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *

The prefix of the stream name of the CloudWatch Logs.

*/ inline AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails& WithStreamName(const char* value) { SetStreamName(value); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_streamName; bool m_streamNameHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws