AWS SDK for C++  1.9.105
AWS SDK for C++
WirelessGatewayEventLogOption.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTWireless
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
44 
45  inline const WirelessGatewayEvent& GetEvent() const{ return m_event; }
46 
47 
48  inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
49 
50 
51  inline void SetEvent(const WirelessGatewayEvent& value) { m_eventHasBeenSet = true; m_event = value; }
52 
53 
54  inline void SetEvent(WirelessGatewayEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); }
55 
56 
57  inline WirelessGatewayEventLogOption& WithEvent(const WirelessGatewayEvent& value) { SetEvent(value); return *this;}
58 
59 
60  inline WirelessGatewayEventLogOption& WithEvent(WirelessGatewayEvent&& value) { SetEvent(std::move(value)); return *this;}
61 
62 
63 
64  inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
65 
66 
67  inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
68 
69 
70  inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
71 
72 
73  inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
74 
75 
76  inline WirelessGatewayEventLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
77 
78 
79  inline WirelessGatewayEventLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
80 
81  private:
82 
83  WirelessGatewayEvent m_event;
84  bool m_eventHasBeenSet;
85 
86  LogLevel m_logLevel;
87  bool m_logLevelHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace IoTWireless
92 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::SetEvent
void SetEvent(const WirelessGatewayEvent &value)
Definition: WirelessGatewayEventLogOption.h:51
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: WirelessGatewayEventLogOption.h:73
WirelessGatewayEvent.h
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::SetEvent
void SetEvent(WirelessGatewayEvent &&value)
Definition: WirelessGatewayEventLogOption.h:54
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WithEvent
WirelessGatewayEventLogOption & WithEvent(WirelessGatewayEvent &&value)
Definition: WirelessGatewayEventLogOption.h:60
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WirelessGatewayEventLogOption
WirelessGatewayEventLogOption()
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: WirelessGatewayEventLogOption.h:67
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: WirelessGatewayEventLogOption.h:70
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WithEvent
WirelessGatewayEventLogOption & WithEvent(const WirelessGatewayEvent &value)
Definition: WirelessGatewayEventLogOption.h:57
Aws::IoTWireless::Model::WirelessGatewayEventLogOption
Definition: WirelessGatewayEventLogOption.h:36
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WithLogLevel
WirelessGatewayEventLogOption & WithLogLevel(const LogLevel &value)
Definition: WirelessGatewayEventLogOption.h:76
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::EventHasBeenSet
bool EventHasBeenSet() const
Definition: WirelessGatewayEventLogOption.h:48
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::operator=
WirelessGatewayEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessGatewayEvent
WirelessGatewayEvent
Definition: WirelessGatewayEvent.h:17
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: WirelessGatewayEventLogOption.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WithLogLevel
WirelessGatewayEventLogOption & WithLogLevel(LogLevel &&value)
Definition: WirelessGatewayEventLogOption.h:79
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::GetEvent
const WirelessGatewayEvent & GetEvent() const
Definition: WirelessGatewayEventLogOption.h:45
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::WirelessGatewayEventLogOption::WirelessGatewayEventLogOption
WirelessGatewayEventLogOption(Aws::Utils::Json::JsonView jsonValue)
LogLevel.h
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17