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

A subset of the attributes that describe a log group. In CloudWatch a log * group is a group of log streams that share the same retention, monitoring, and * access control settings.

See Also:

AWS * API Reference

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

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

The name of the log group.

*/ inline LogGroupSummary& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} /** *

The type of log.

*/ inline const Aws::String& GetLogType() const{ return m_logType; } /** *

The type of log.

*/ inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; } /** *

The type of log.

*/ inline void SetLogType(const Aws::String& value) { m_logTypeHasBeenSet = true; m_logType = value; } /** *

The type of log.

*/ inline void SetLogType(Aws::String&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); } /** *

The type of log.

*/ inline void SetLogType(const char* value) { m_logTypeHasBeenSet = true; m_logType.assign(value); } /** *

The type of log.

*/ inline LogGroupSummary& WithLogType(const Aws::String& value) { SetLogType(value); return *this;} /** *

The type of log.

*/ inline LogGroupSummary& WithLogType(Aws::String&& value) { SetLogType(std::move(value)); return *this;} /** *

The type of log.

*/ inline LogGroupSummary& WithLogType(const char* value) { SetLogType(value); return *this;} private: Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; Aws::String m_logType; bool m_logTypeHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws