AWS SDK for C++  1.9.108
AWS SDK for C++
WirelessGatewayLogOption.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 
44 
45  inline const WirelessGatewayType& GetType() const{ return m_type; }
46 
47 
48  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 
50 
51  inline void SetType(const WirelessGatewayType& value) { m_typeHasBeenSet = true; m_type = value; }
52 
53 
54  inline void SetType(WirelessGatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 
56 
57  inline WirelessGatewayLogOption& WithType(const WirelessGatewayType& value) { SetType(value); return *this;}
58 
59 
60  inline WirelessGatewayLogOption& WithType(WirelessGatewayType&& value) { SetType(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 WirelessGatewayLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
77 
78 
79  inline WirelessGatewayLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
80 
81 
82 
83  inline const Aws::Vector<WirelessGatewayEventLogOption>& GetEvents() const{ return m_events; }
84 
85 
86  inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
87 
88 
89  inline void SetEvents(const Aws::Vector<WirelessGatewayEventLogOption>& value) { m_eventsHasBeenSet = true; m_events = value; }
90 
91 
92  inline void SetEvents(Aws::Vector<WirelessGatewayEventLogOption>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
93 
94 
95  inline WirelessGatewayLogOption& WithEvents(const Aws::Vector<WirelessGatewayEventLogOption>& value) { SetEvents(value); return *this;}
96 
97 
98  inline WirelessGatewayLogOption& WithEvents(Aws::Vector<WirelessGatewayEventLogOption>&& value) { SetEvents(std::move(value)); return *this;}
99 
100 
101  inline WirelessGatewayLogOption& AddEvents(const WirelessGatewayEventLogOption& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
102 
103 
104  inline WirelessGatewayLogOption& AddEvents(WirelessGatewayEventLogOption&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
105 
106  private:
107 
108  WirelessGatewayType m_type;
109  bool m_typeHasBeenSet;
110 
111  LogLevel m_logLevel;
112  bool m_logLevelHasBeenSet;
113 
115  bool m_eventsHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace IoTWireless
120 } // namespace Aws
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetEvents
void SetEvents(const Aws::Vector< WirelessGatewayEventLogOption > &value)
Definition: WirelessGatewayLogOption.h:89
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessGatewayLogOption::AddEvents
WirelessGatewayLogOption & AddEvents(const WirelessGatewayEventLogOption &value)
Definition: WirelessGatewayLogOption.h:101
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithLogLevel
WirelessGatewayLogOption & WithLogLevel(LogLevel &&value)
Definition: WirelessGatewayLogOption.h:79
Aws::IoTWireless::Model::WirelessGatewayLogOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::WirelessGatewayLogOption::WirelessGatewayLogOption
WirelessGatewayLogOption()
Aws::IoTWireless::Model::WirelessGatewayLogOption::GetType
const WirelessGatewayType & GetType() const
Definition: WirelessGatewayLogOption.h:45
Aws::IoTWireless::Model::WirelessGatewayLogOption::operator=
WirelessGatewayLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessGatewayLogOption::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: WirelessGatewayLogOption.h:67
Aws::IoTWireless::Model::WirelessGatewayLogOption::WirelessGatewayLogOption
WirelessGatewayLogOption(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::WirelessGatewayLogOption::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: WirelessGatewayLogOption.h:48
AWSVector.h
Aws::IoTWireless::Model::WirelessGatewayLogOption::EventsHasBeenSet
bool EventsHasBeenSet() const
Definition: WirelessGatewayLogOption.h:86
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithType
WirelessGatewayLogOption & WithType(WirelessGatewayType &&value)
Definition: WirelessGatewayLogOption.h:60
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetType
void SetType(WirelessGatewayType &&value)
Definition: WirelessGatewayLogOption.h:54
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetEvents
void SetEvents(Aws::Vector< WirelessGatewayEventLogOption > &&value)
Definition: WirelessGatewayLogOption.h:92
Aws::IoTWireless::Model::WirelessGatewayLogOption::GetEvents
const Aws::Vector< WirelessGatewayEventLogOption > & GetEvents() const
Definition: WirelessGatewayLogOption.h:83
Aws::IoTWireless::Model::WirelessGatewayLogOption::AddEvents
WirelessGatewayLogOption & AddEvents(WirelessGatewayEventLogOption &&value)
Definition: WirelessGatewayLogOption.h:104
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetType
void SetType(const WirelessGatewayType &value)
Definition: WirelessGatewayLogOption.h:51
Aws::IoTWireless::Model::WirelessGatewayLogOption
Definition: WirelessGatewayLogOption.h:36
Aws::IoTWireless::Model::WirelessGatewayEventLogOption
Definition: WirelessGatewayEventLogOption.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithEvents
WirelessGatewayLogOption & WithEvents(const Aws::Vector< WirelessGatewayEventLogOption > &value)
Definition: WirelessGatewayLogOption.h:95
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithLogLevel
WirelessGatewayLogOption & WithLogLevel(const LogLevel &value)
Definition: WirelessGatewayLogOption.h:76
WirelessGatewayType.h
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithEvents
WirelessGatewayLogOption & WithEvents(Aws::Vector< WirelessGatewayEventLogOption > &&value)
Definition: WirelessGatewayLogOption.h:98
Aws::IoTWireless::Model::WirelessGatewayLogOption::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: WirelessGatewayLogOption.h:64
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: WirelessGatewayLogOption.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessGatewayType
WirelessGatewayType
Definition: WirelessGatewayType.h:17
WirelessGatewayEventLogOption.h
Aws::IoTWireless::Model::WirelessGatewayLogOption::WithType
WirelessGatewayLogOption & WithType(const WirelessGatewayType &value)
Definition: WirelessGatewayLogOption.h:57
Aws::IoTWireless::Model::WirelessGatewayLogOption::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: WirelessGatewayLogOption.h:70
LogLevel.h
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17