AWS SDK for C++  1.9.105
AWS SDK for C++
WirelessDeviceLogOption.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const WirelessDeviceType& GetType() const{ return m_type; }
48 
52  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 
57  inline void SetType(const WirelessDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
58 
62  inline void SetType(WirelessDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
63 
67  inline WirelessDeviceLogOption& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
68 
72  inline WirelessDeviceLogOption& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
73 
74 
75 
76  inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
77 
78 
79  inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
80 
81 
82  inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
83 
84 
85  inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
86 
87 
88  inline WirelessDeviceLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
89 
90 
91  inline WirelessDeviceLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
92 
93 
94 
95  inline const Aws::Vector<WirelessDeviceEventLogOption>& GetEvents() const{ return m_events; }
96 
97 
98  inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
99 
100 
101  inline void SetEvents(const Aws::Vector<WirelessDeviceEventLogOption>& value) { m_eventsHasBeenSet = true; m_events = value; }
102 
103 
104  inline void SetEvents(Aws::Vector<WirelessDeviceEventLogOption>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
105 
106 
107  inline WirelessDeviceLogOption& WithEvents(const Aws::Vector<WirelessDeviceEventLogOption>& value) { SetEvents(value); return *this;}
108 
109 
110  inline WirelessDeviceLogOption& WithEvents(Aws::Vector<WirelessDeviceEventLogOption>&& value) { SetEvents(std::move(value)); return *this;}
111 
112 
113  inline WirelessDeviceLogOption& AddEvents(const WirelessDeviceEventLogOption& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
114 
115 
116  inline WirelessDeviceLogOption& AddEvents(WirelessDeviceEventLogOption&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
117 
118  private:
119 
120  WirelessDeviceType m_type;
121  bool m_typeHasBeenSet;
122 
123  LogLevel m_logLevel;
124  bool m_logLevelHasBeenSet;
125 
127  bool m_eventsHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace IoTWireless
132 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessDeviceLogOption::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: WirelessDeviceLogOption.h:52
Aws::IoTWireless::Model::WirelessDeviceLogOption::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: WirelessDeviceLogOption.h:76
Aws::IoTWireless::Model::WirelessDeviceLogOption::AddEvents
WirelessDeviceLogOption & AddEvents(WirelessDeviceEventLogOption &&value)
Definition: WirelessDeviceLogOption.h:116
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithType
WirelessDeviceLogOption & WithType(const WirelessDeviceType &value)
Definition: WirelessDeviceLogOption.h:67
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithType
WirelessDeviceLogOption & WithType(WirelessDeviceType &&value)
Definition: WirelessDeviceLogOption.h:72
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithLogLevel
WirelessDeviceLogOption & WithLogLevel(LogLevel &&value)
Definition: WirelessDeviceLogOption.h:91
Aws::IoTWireless::Model::WirelessDeviceType
WirelessDeviceType
Definition: WirelessDeviceType.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
IoTWireless_EXPORTS.h
AWSVector.h
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithLogLevel
WirelessDeviceLogOption & WithLogLevel(const LogLevel &value)
Definition: WirelessDeviceLogOption.h:88
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetEvents
void SetEvents(const Aws::Vector< WirelessDeviceEventLogOption > &value)
Definition: WirelessDeviceLogOption.h:101
Aws::IoTWireless::Model::WirelessDeviceEventLogOption
Definition: WirelessDeviceEventLogOption.h:39
Aws::IoTWireless::Model::WirelessDeviceLogOption::EventsHasBeenSet
bool EventsHasBeenSet() const
Definition: WirelessDeviceLogOption.h:98
Aws::IoTWireless::Model::WirelessDeviceLogOption
Definition: WirelessDeviceLogOption.h:36
Aws::IoTWireless::Model::WirelessDeviceLogOption::WirelessDeviceLogOption
WirelessDeviceLogOption(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: WirelessDeviceLogOption.h:82
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessDeviceLogOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::WirelessDeviceLogOption::WirelessDeviceLogOption
WirelessDeviceLogOption()
Aws::IoTWireless::Model::WirelessDeviceLogOption::GetEvents
const Aws::Vector< WirelessDeviceEventLogOption > & GetEvents() const
Definition: WirelessDeviceLogOption.h:95
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetEvents
void SetEvents(Aws::Vector< WirelessDeviceEventLogOption > &&value)
Definition: WirelessDeviceLogOption.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: WirelessDeviceLogOption.h:85
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetType
void SetType(const WirelessDeviceType &value)
Definition: WirelessDeviceLogOption.h:57
Aws::IoTWireless::Model::WirelessDeviceLogOption::SetType
void SetType(WirelessDeviceType &&value)
Definition: WirelessDeviceLogOption.h:62
WirelessDeviceEventLogOption.h
Aws::IoTWireless::Model::WirelessDeviceLogOption::GetType
const WirelessDeviceType & GetType() const
Definition: WirelessDeviceLogOption.h:47
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithEvents
WirelessDeviceLogOption & WithEvents(Aws::Vector< WirelessDeviceEventLogOption > &&value)
Definition: WirelessDeviceLogOption.h:110
Aws::IoTWireless::Model::WirelessDeviceLogOption::WithEvents
WirelessDeviceLogOption & WithEvents(const Aws::Vector< WirelessDeviceEventLogOption > &value)
Definition: WirelessDeviceLogOption.h:107
Aws::IoTWireless::Model::WirelessDeviceLogOption::AddEvents
WirelessDeviceLogOption & AddEvents(const WirelessDeviceEventLogOption &value)
Definition: WirelessDeviceLogOption.h:113
WirelessDeviceType.h
Aws::IoTWireless::Model::WirelessDeviceLogOption::operator=
WirelessDeviceLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessDeviceLogOption::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: WirelessDeviceLogOption.h:79
LogLevel.h
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17