AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WirelessGatewayLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessGatewayType.h>
9#include <aws/iotwireless/model/LogLevel.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotwireless/model/WirelessGatewayEventLogOption.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 WirelessGatewayLogOption();
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const WirelessGatewayType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const WirelessGatewayType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(WirelessGatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline WirelessGatewayLogOption& WithType(const WirelessGatewayType& value) { SetType(value); return *this;}
51 inline WirelessGatewayLogOption& WithType(WirelessGatewayType&& value) { SetType(std::move(value)); return *this;}
53
55
56 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
57 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
58 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
59 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
60 inline WirelessGatewayLogOption& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
61 inline WirelessGatewayLogOption& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
63
65
66 inline const Aws::Vector<WirelessGatewayEventLogOption>& GetEvents() const{ return m_events; }
67 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
68 inline void SetEvents(const Aws::Vector<WirelessGatewayEventLogOption>& value) { m_eventsHasBeenSet = true; m_events = value; }
69 inline void SetEvents(Aws::Vector<WirelessGatewayEventLogOption>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
72 inline WirelessGatewayLogOption& AddEvents(const WirelessGatewayEventLogOption& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
73 inline WirelessGatewayLogOption& AddEvents(WirelessGatewayEventLogOption&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
75 private:
76
78 bool m_typeHasBeenSet = false;
79
80 LogLevel m_logLevel;
81 bool m_logLevelHasBeenSet = false;
82
84 bool m_eventsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTWireless
89} // namespace Aws
WirelessGatewayLogOption & WithLogLevel(LogLevel &&value)
WirelessGatewayLogOption & WithType(const WirelessGatewayType &value)
WirelessGatewayLogOption & WithLogLevel(const LogLevel &value)
WirelessGatewayLogOption & WithEvents(const Aws::Vector< WirelessGatewayEventLogOption > &value)
const Aws::Vector< WirelessGatewayEventLogOption > & GetEvents() const
void SetEvents(const Aws::Vector< WirelessGatewayEventLogOption > &value)
WirelessGatewayLogOption & WithEvents(Aws::Vector< WirelessGatewayEventLogOption > &&value)
WirelessGatewayLogOption & AddEvents(const WirelessGatewayEventLogOption &value)
AWS_IOTWIRELESS_API WirelessGatewayLogOption(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(Aws::Vector< WirelessGatewayEventLogOption > &&value)
AWS_IOTWIRELESS_API WirelessGatewayLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayLogOption & AddEvents(WirelessGatewayEventLogOption &&value)
WirelessGatewayLogOption & WithType(WirelessGatewayType &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue