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

The logging configuration associated with an Amazon Chime Voice Connector. * Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch * Logs.

See Also:

AWS * API Reference

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

When true, enables SIP message logs for sending to Amazon CloudWatch * Logs.

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

When true, enables SIP message logs for sending to Amazon CloudWatch * Logs.

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

When true, enables SIP message logs for sending to Amazon CloudWatch * Logs.

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

When true, enables SIP message logs for sending to Amazon CloudWatch * Logs.

*/ inline LoggingConfiguration& WithEnableSIPLogs(bool value) { SetEnableSIPLogs(value); return *this;} private: bool m_enableSIPLogs; bool m_enableSIPLogsHasBeenSet; }; } // namespace Model } // namespace Chime } // namespace Aws