AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WirelessGatewayEventLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/LogLevel.h>
9#include <aws/iotwireless/model/WirelessGatewayEvent.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
32 public:
33 AWS_IOTWIRELESS_API WirelessGatewayEventLogOption() = default;
36 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline WirelessGatewayEvent GetEvent() const { return m_event; }
41 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
42 inline void SetEvent(WirelessGatewayEvent value) {
43 m_eventHasBeenSet = true;
44 m_event = value;
45 }
47 SetEvent(value);
48 return *this;
49 }
51
53
54 inline LogLevel GetLogLevel() const { return m_logLevel; }
55 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
56 inline void SetLogLevel(LogLevel value) {
57 m_logLevelHasBeenSet = true;
58 m_logLevel = value;
59 }
61 SetLogLevel(value);
62 return *this;
63 }
65 private:
67
68 LogLevel m_logLevel{LogLevel::NOT_SET};
69 bool m_eventHasBeenSet = false;
70 bool m_logLevelHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace IoTWireless
75} // 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