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

Defines the Amazon CloudWatch Logs destination log group for conversation * text logs.

See Also:

AWS * API Reference

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

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline const CloudWatchLogGroupLogDestination& GetCloudWatch() const{ return m_cloudWatch; } /** *

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline bool CloudWatchHasBeenSet() const { return m_cloudWatchHasBeenSet; } /** *

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline void SetCloudWatch(const CloudWatchLogGroupLogDestination& value) { m_cloudWatchHasBeenSet = true; m_cloudWatch = value; } /** *

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline void SetCloudWatch(CloudWatchLogGroupLogDestination&& value) { m_cloudWatchHasBeenSet = true; m_cloudWatch = std::move(value); } /** *

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline TextLogDestination& WithCloudWatch(const CloudWatchLogGroupLogDestination& value) { SetCloudWatch(value); return *this;} /** *

Defines the Amazon CloudWatch Logs log group where text and metadata logs are * delivered.

*/ inline TextLogDestination& WithCloudWatch(CloudWatchLogGroupLogDestination&& value) { SetCloudWatch(std::move(value)); return *this;} private: CloudWatchLogGroupLogDestination m_cloudWatch; bool m_cloudWatchHasBeenSet; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws