This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotsitewise/include/aws/iotsitewise/model/LoggingOptions.h

79 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
#include <aws/iotsitewise/model/LoggingLevel.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTSiteWise
{
namespace Model
{
/**
* <p>Contains logging options.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/LoggingOptions">AWS
* API Reference</a></p>
*/
class AWS_IOTSITEWISE_API LoggingOptions
{
public:
LoggingOptions();
LoggingOptions(Aws::Utils::Json::JsonView jsonValue);
LoggingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline const LoggingLevel& GetLevel() const{ return m_level; }
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline void SetLevel(const LoggingLevel& value) { m_levelHasBeenSet = true; m_level = value; }
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline void SetLevel(LoggingLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline LoggingOptions& WithLevel(const LoggingLevel& value) { SetLevel(value); return *this;}
/**
* <p>The AWS IoT SiteWise logging verbosity level.</p>
*/
inline LoggingOptions& WithLevel(LoggingLevel&& value) { SetLevel(std::move(value)); return *this;}
private:
LoggingLevel m_level;
bool m_levelHasBeenSet;
};
} // namespace Model
} // namespace IoTSiteWise
} // namespace Aws