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

Specifies a CloudWatch Logs location where chat logs will be * stored.

See Also:

AWS * API Reference

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

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline CloudWatchLogsDestinationConfiguration& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline CloudWatchLogsDestinationConfiguration& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** *

Name of the Amazon Cloudwatch Logs destination where chat activity will be * logged.

*/ inline CloudWatchLogsDestinationConfiguration& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} private: Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; }; } // namespace Model } // namespace ivschat } // namespace Aws