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

A structure containing the CloudWatch Logs log group where the project stores * evaluation events.

See Also:

AWS * API Reference

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

The name of the log group where the project stores evaluation events.

*/ inline const Aws::String& GetLogGroup() const{ return m_logGroup; } /** *

The name of the log group where the project stores evaluation events.

*/ inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; } /** *

The name of the log group where the project stores evaluation events.

*/ inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; } /** *

The name of the log group where the project stores evaluation events.

*/ inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); } /** *

The name of the log group where the project stores evaluation events.

*/ inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); } /** *

The name of the log group where the project stores evaluation events.

*/ inline CloudWatchLogsDestinationConfig& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;} /** *

The name of the log group where the project stores evaluation events.

*/ inline CloudWatchLogsDestinationConfig& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;} /** *

The name of the log group where the project stores evaluation events.

*/ inline CloudWatchLogsDestinationConfig& WithLogGroup(const char* value) { SetLogGroup(value); return *this;} private: Aws::String m_logGroup; bool m_logGroupHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws