AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
FuotaTaskEventLogOption.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/FuotaTaskEvent.h>
9#include <aws/iotwireless/model/LogLevel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
31 public:
32 AWS_IOTWIRELESS_API FuotaTaskEventLogOption() = default;
35 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline FuotaTaskEvent GetEvent() const { return m_event; }
40 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
41 inline void SetEvent(FuotaTaskEvent value) {
42 m_eventHasBeenSet = true;
43 m_event = value;
44 }
46 SetEvent(value);
47 return *this;
48 }
50
52
53 inline LogLevel GetLogLevel() const { return m_logLevel; }
54 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
55 inline void SetLogLevel(LogLevel value) {
56 m_logLevelHasBeenSet = true;
57 m_logLevel = value;
58 }
60 SetLogLevel(value);
61 return *this;
62 }
64 private:
66
67 LogLevel m_logLevel{LogLevel::NOT_SET};
68 bool m_eventHasBeenSet = false;
69 bool m_logLevelHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace IoTWireless
74} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
FuotaTaskEventLogOption & WithEvent(FuotaTaskEvent value)
AWS_IOTWIRELESS_API FuotaTaskEventLogOption()=default
AWS_IOTWIRELESS_API FuotaTaskEventLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API FuotaTaskEventLogOption(Aws::Utils::Json::JsonView jsonValue)
FuotaTaskEventLogOption & WithLogLevel(LogLevel value)
Aws::Utils::Json::JsonValue JsonValue