AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WirelessDeviceLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessDeviceType.h>
9#include <aws/iotwireless/model/LogLevel.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotwireless/model/WirelessDeviceEventLogOption.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTWIRELESS_API WirelessDeviceLogOption();
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const WirelessDeviceType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const WirelessDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(WirelessDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline WirelessDeviceLogOption& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
53 inline WirelessDeviceLogOption& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
55
57
58 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
59 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
60 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
61 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
62 inline WirelessDeviceLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
63 inline WirelessDeviceLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
65
67
68 inline const Aws::Vector<WirelessDeviceEventLogOption>& GetEvents() const{ return m_events; }
69 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
70 inline void SetEvents(const Aws::Vector<WirelessDeviceEventLogOption>& value) { m_eventsHasBeenSet = true; m_events = value; }
71 inline void SetEvents(Aws::Vector<WirelessDeviceEventLogOption>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
74 inline WirelessDeviceLogOption& AddEvents(const WirelessDeviceEventLogOption& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
75 inline WirelessDeviceLogOption& AddEvents(WirelessDeviceEventLogOption&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
77 private:
78
79 WirelessDeviceType m_type;
80 bool m_typeHasBeenSet = false;
81
82 LogLevel m_logLevel;
83 bool m_logLevelHasBeenSet = false;
84
86 bool m_eventsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoTWireless
91} // namespace Aws
WirelessDeviceLogOption & WithType(const WirelessDeviceType &value)
WirelessDeviceLogOption & WithEvents(const Aws::Vector< WirelessDeviceEventLogOption > &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessDeviceLogOption & WithLogLevel(LogLevel &&value)
WirelessDeviceLogOption & WithEvents(Aws::Vector< WirelessDeviceEventLogOption > &&value)
WirelessDeviceLogOption & WithType(WirelessDeviceType &&value)
WirelessDeviceLogOption & WithLogLevel(const LogLevel &value)
WirelessDeviceLogOption & AddEvents(const WirelessDeviceEventLogOption &value)
AWS_IOTWIRELESS_API WirelessDeviceLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceLogOption & AddEvents(WirelessDeviceEventLogOption &&value)
AWS_IOTWIRELESS_API WirelessDeviceLogOption(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(const Aws::Vector< WirelessDeviceEventLogOption > &value)
const Aws::Vector< WirelessDeviceEventLogOption > & GetEvents() const
void SetEvents(Aws::Vector< WirelessDeviceEventLogOption > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue