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

Contains logging options.

See Also:

AWS * API Reference

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

The IoT SiteWise logging verbosity level.

*/ inline const LoggingLevel& GetLevel() const{ return m_level; } /** *

The IoT SiteWise logging verbosity level.

*/ inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; } /** *

The IoT SiteWise logging verbosity level.

*/ inline void SetLevel(const LoggingLevel& value) { m_levelHasBeenSet = true; m_level = value; } /** *

The IoT SiteWise logging verbosity level.

*/ inline void SetLevel(LoggingLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); } /** *

The IoT SiteWise logging verbosity level.

*/ inline LoggingOptions& WithLevel(const LoggingLevel& value) { SetLevel(value); return *this;} /** *

The IoT SiteWise logging verbosity level.

*/ inline LoggingOptions& WithLevel(LoggingLevel&& value) { SetLevel(std::move(value)); return *this;} private: LoggingLevel m_level; bool m_levelHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws