AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingOptions.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/LoggingLevel.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTSiteWise
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTSITEWISE_API LoggingOptions();
35 AWS_IOTSITEWISE_API LoggingOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTSITEWISE_API LoggingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const LoggingLevel& GetLevel() const{ return m_level; }
45 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
46 inline void SetLevel(const LoggingLevel& value) { m_levelHasBeenSet = true; m_level = value; }
47 inline void SetLevel(LoggingLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
48 inline LoggingOptions& WithLevel(const LoggingLevel& value) { SetLevel(value); return *this;}
49 inline LoggingOptions& WithLevel(LoggingLevel&& value) { SetLevel(std::move(value)); return *this;}
51 private:
52
53 LoggingLevel m_level;
54 bool m_levelHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace IoTSiteWise
59} // namespace Aws
LoggingOptions & WithLevel(const LoggingLevel &value)
LoggingOptions & WithLevel(LoggingLevel &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const LoggingLevel & GetLevel() const
AWS_IOTSITEWISE_API LoggingOptions(Aws::Utils::Json::JsonView jsonValue)
void SetLevel(const LoggingLevel &value)
void SetLevel(LoggingLevel &&value)
AWS_IOTSITEWISE_API LoggingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue