AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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