AWS SDK for C++  1.9.104
AWS SDK for C++
WirelessDeviceEventLogOption.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 
39  {
40  public:
45 
46 
47 
48  inline const WirelessDeviceEvent& GetEvent() const{ return m_event; }
49 
50 
51  inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
52 
53 
54  inline void SetEvent(const WirelessDeviceEvent& value) { m_eventHasBeenSet = true; m_event = value; }
55 
56 
57  inline void SetEvent(WirelessDeviceEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); }
58 
59 
60  inline WirelessDeviceEventLogOption& WithEvent(const WirelessDeviceEvent& value) { SetEvent(value); return *this;}
61 
62 
63  inline WirelessDeviceEventLogOption& WithEvent(WirelessDeviceEvent&& value) { SetEvent(std::move(value)); return *this;}
64 
65 
66 
67  inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
68 
69 
70  inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
71 
72 
73  inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
74 
75 
76  inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
77 
78 
79  inline WirelessDeviceEventLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
80 
81 
82  inline WirelessDeviceEventLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
83 
84  private:
85 
86  WirelessDeviceEvent m_event;
87  bool m_eventHasBeenSet;
88 
89  LogLevel m_logLevel;
90  bool m_logLevelHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace IoTWireless
95 } // namespace Aws
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::EventHasBeenSet
bool EventHasBeenSet() const
Definition: WirelessDeviceEventLogOption.h:51
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::GetEvent
const WirelessDeviceEvent & GetEvent() const
Definition: WirelessDeviceEventLogOption.h:48
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WirelessDeviceEventLogOption
WirelessDeviceEventLogOption()
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WithEvent
WirelessDeviceEventLogOption & WithEvent(const WirelessDeviceEvent &value)
Definition: WirelessDeviceEventLogOption.h:60
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: WirelessDeviceEventLogOption.h:73
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: WirelessDeviceEventLogOption.h:76
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: WirelessDeviceEventLogOption.h:70
Aws::IoTWireless::Model::WirelessDeviceEventLogOption
Definition: WirelessDeviceEventLogOption.h:39
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: WirelessDeviceEventLogOption.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WithLogLevel
WirelessDeviceEventLogOption & WithLogLevel(const LogLevel &value)
Definition: WirelessDeviceEventLogOption.h:79
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WirelessDeviceEventLogOption
WirelessDeviceEventLogOption(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessDeviceEvent
WirelessDeviceEvent
Definition: WirelessDeviceEvent.h:17
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::SetEvent
void SetEvent(const WirelessDeviceEvent &value)
Definition: WirelessDeviceEventLogOption.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::SetEvent
void SetEvent(WirelessDeviceEvent &&value)
Definition: WirelessDeviceEventLogOption.h:57
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WithLogLevel
WirelessDeviceEventLogOption & WithLogLevel(LogLevel &&value)
Definition: WirelessDeviceEventLogOption.h:82
WirelessDeviceEvent.h
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::operator=
WirelessDeviceEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
LogLevel.h
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17
Aws::IoTWireless::Model::WirelessDeviceEventLogOption::WithEvent
WirelessDeviceEventLogOption & WithEvent(WirelessDeviceEvent &&value)
Definition: WirelessDeviceEventLogOption.h:63