/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about CloudWatch Logs for a build project. See
* Also:
AWS
* API Reference
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid * values are:
ENABLED
: CloudWatch Logs are enabled
* for this build project.
DISABLED
: CloudWatch
* Logs are not enabled for this build project.
The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The group name of the logs in CloudWatch Logs. For more information, see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The prefix of the stream name of the CloudWatch Logs. For more information, * see Working * with Log Groups and Log Streams.
*/ inline CloudWatchLogsConfig& WithStreamName(const char* value) { SetStreamName(value); return *this;} private: LogsConfigStatusType m_status; bool m_statusHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_streamName; bool m_streamNameHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws