AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WirelessDeviceEventLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessDeviceEvent.h>
9#include <aws/iotwireless/model/LogLevel.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_IOTWIRELESS_API WirelessDeviceEventLogOption() = default;
44 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline WirelessDeviceEvent GetEvent() const { return m_event; }
50 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
51 inline void SetEvent(WirelessDeviceEvent value) { m_eventHasBeenSet = true; m_event = value; }
54
56
57 inline LogLevel GetLogLevel() const { return m_logLevel; }
58 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
59 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
60 inline WirelessDeviceEventLogOption& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
62 private:
63
65 bool m_eventHasBeenSet = false;
66
67 LogLevel m_logLevel{LogLevel::NOT_SET};
68 bool m_logLevelHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTWireless
73} // namespace Aws
AWS_IOTWIRELESS_API WirelessDeviceEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceEventLogOption & WithEvent(WirelessDeviceEvent value)
AWS_IOTWIRELESS_API WirelessDeviceEventLogOption(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceEventLogOption & WithLogLevel(LogLevel value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API WirelessDeviceEventLogOption()=default
Aws::Utils::Json::JsonValue JsonValue