/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

The logging configuration associated with an Amazon Chime SDK Voice * Connector. Specifies whether SIP message logs can be sent to Amazon CloudWatch * Logs.

See Also:

AWS * API Reference

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

Boolean that enables sending SIP message logs to Amazon CloudWatch.

*/ inline bool GetEnableSIPLogs() const{ return m_enableSIPLogs; } /** *

Boolean that enables sending SIP message logs to Amazon CloudWatch.

*/ inline bool EnableSIPLogsHasBeenSet() const { return m_enableSIPLogsHasBeenSet; } /** *

Boolean that enables sending SIP message logs to Amazon CloudWatch.

*/ inline void SetEnableSIPLogs(bool value) { m_enableSIPLogsHasBeenSet = true; m_enableSIPLogs = value; } /** *

Boolean that enables sending SIP message logs to Amazon CloudWatch.

*/ inline LoggingConfiguration& WithEnableSIPLogs(bool value) { SetEnableSIPLogs(value); return *this;} /** *

Enables or disables media metrics logging.

*/ inline bool GetEnableMediaMetricLogs() const{ return m_enableMediaMetricLogs; } /** *

Enables or disables media metrics logging.

*/ inline bool EnableMediaMetricLogsHasBeenSet() const { return m_enableMediaMetricLogsHasBeenSet; } /** *

Enables or disables media metrics logging.

*/ inline void SetEnableMediaMetricLogs(bool value) { m_enableMediaMetricLogsHasBeenSet = true; m_enableMediaMetricLogs = value; } /** *

Enables or disables media metrics logging.

*/ inline LoggingConfiguration& WithEnableMediaMetricLogs(bool value) { SetEnableMediaMetricLogs(value); return *this;} private: bool m_enableSIPLogs; bool m_enableSIPLogsHasBeenSet = false; bool m_enableMediaMetricLogs; bool m_enableMediaMetricLogsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws