AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WirelessGatewayEventLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessGatewayEvent.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
36 {
37 public:
38 AWS_IOTWIRELESS_API WirelessGatewayEventLogOption() = default;
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline WirelessGatewayEvent GetEvent() const { return m_event; }
47 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
48 inline void SetEvent(WirelessGatewayEvent value) { m_eventHasBeenSet = true; m_event = value; }
51
53
54 inline LogLevel GetLogLevel() const { return m_logLevel; }
55 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
56 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
57 inline WirelessGatewayEventLogOption& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
59 private:
60
62 bool m_eventHasBeenSet = false;
63
64 LogLevel m_logLevel{LogLevel::NOT_SET};
65 bool m_logLevelHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoTWireless
70} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API WirelessGatewayEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayEventLogOption & WithLogLevel(LogLevel value)
AWS_IOTWIRELESS_API WirelessGatewayEventLogOption()=default
AWS_IOTWIRELESS_API WirelessGatewayEventLogOption(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayEventLogOption & WithEvent(WirelessGatewayEvent value)
Aws::Utils::Json::JsonValue JsonValue