/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration details of the CloudWatch Logs destination.See
* Also:
AWS
* API Reference
The name of the CloudWatch Logs log group.
*/ inline const Aws::String& GetLogGroup() const{ return m_logGroup; } /** *The name of the CloudWatch Logs log group.
*/ inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; } /** *The name of the CloudWatch Logs log group.
*/ inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; } /** *The name of the CloudWatch Logs log group.
*/ inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); } /** *The name of the CloudWatch Logs log group.
*/ inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); } /** *The name of the CloudWatch Logs log group.
*/ inline CloudWatchLogsDestinationDetails& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;} /** *The name of the CloudWatch Logs log group.
*/ inline CloudWatchLogsDestinationDetails& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;} /** *The name of the CloudWatch Logs log group.
*/ inline CloudWatchLogsDestinationDetails& WithLogGroup(const char* value) { SetLogGroup(value); return *this;} private: Aws::String m_logGroup; bool m_logGroupHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws