AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WirelessDeviceEventLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/LogLevel.h>
9#include <aws/iotwireless/model/WirelessDeviceEvent.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
35 public:
36 AWS_IOTWIRELESS_API WirelessDeviceEventLogOption() = default;
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
43 inline WirelessDeviceEvent GetEvent() const { return m_event; }
44 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
45 inline void SetEvent(WirelessDeviceEvent value) {
46 m_eventHasBeenSet = true;
47 m_event = value;
48 }
50 SetEvent(value);
51 return *this;
52 }
54
56
57 inline LogLevel GetLogLevel() const { return m_logLevel; }
58 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
59 inline void SetLogLevel(LogLevel value) {
60 m_logLevelHasBeenSet = true;
61 m_logLevel = value;
62 }
64 SetLogLevel(value);
65 return *this;
66 }
68 private:
70
71 LogLevel m_logLevel{LogLevel::NOT_SET};
72 bool m_eventHasBeenSet = false;
73 bool m_logLevelHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace IoTWireless
78} // 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