AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const WirelessDeviceEvent& GetEvent() const{ return m_event; }
50 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
51 inline void SetEvent(const WirelessDeviceEvent& value) { m_eventHasBeenSet = true; m_event = value; }
52 inline void SetEvent(WirelessDeviceEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); }
53 inline WirelessDeviceEventLogOption& WithEvent(const WirelessDeviceEvent& value) { SetEvent(value); return *this;}
54 inline WirelessDeviceEventLogOption& WithEvent(WirelessDeviceEvent&& value) { SetEvent(std::move(value)); return *this;}
56
58
59 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
60 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
61 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
62 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
63 inline WirelessDeviceEventLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
64 inline WirelessDeviceEventLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
66 private:
67
68 WirelessDeviceEvent m_event;
69 bool m_eventHasBeenSet = false;
70
71 LogLevel m_logLevel;
72 bool m_logLevelHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTWireless
77} // namespace Aws
AWS_IOTWIRELESS_API WirelessDeviceEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API WirelessDeviceEventLogOption(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceEventLogOption & WithLogLevel(const LogLevel &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessDeviceEventLogOption & WithLogLevel(LogLevel &&value)
WirelessDeviceEventLogOption & WithEvent(WirelessDeviceEvent &&value)
WirelessDeviceEventLogOption & WithEvent(const WirelessDeviceEvent &value)
Aws::Utils::Json::JsonValue JsonValue