/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon CloudWatch Logs log group where the text and metadata logs are
* delivered. The log group must exist before you enable logging.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; } /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline CloudWatchLogGroupLogDestination& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline CloudWatchLogGroupLogDestination& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the log group where text and metadata logs * are delivered.
*/ inline CloudWatchLogGroupLogDestination& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The prefix of the log stream name within the log group that you specified *
*/ inline const Aws::String& GetLogPrefix() const{ return m_logPrefix; } /** *The prefix of the log stream name within the log group that you specified *
*/ inline bool LogPrefixHasBeenSet() const { return m_logPrefixHasBeenSet; } /** *The prefix of the log stream name within the log group that you specified *
*/ inline void SetLogPrefix(const Aws::String& value) { m_logPrefixHasBeenSet = true; m_logPrefix = value; } /** *The prefix of the log stream name within the log group that you specified *
*/ inline void SetLogPrefix(Aws::String&& value) { m_logPrefixHasBeenSet = true; m_logPrefix = std::move(value); } /** *The prefix of the log stream name within the log group that you specified *
*/ inline void SetLogPrefix(const char* value) { m_logPrefixHasBeenSet = true; m_logPrefix.assign(value); } /** *The prefix of the log stream name within the log group that you specified *
*/ inline CloudWatchLogGroupLogDestination& WithLogPrefix(const Aws::String& value) { SetLogPrefix(value); return *this;} /** *The prefix of the log stream name within the log group that you specified *
*/ inline CloudWatchLogGroupLogDestination& WithLogPrefix(Aws::String&& value) { SetLogPrefix(std::move(value)); return *this;} /** *The prefix of the log stream name within the log group that you specified *
*/ inline CloudWatchLogGroupLogDestination& WithLogPrefix(const char* value) { SetLogPrefix(value); return *this;} private: Aws::String m_cloudWatchLogGroupArn; bool m_cloudWatchLogGroupArnHasBeenSet = false; Aws::String m_logPrefix; bool m_logPrefixHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws