AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTWIRELESS_API FuotaTaskEventLogOption() = default;
40 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline FuotaTaskEvent GetEvent() const { return m_event; }
46 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
47 inline void SetEvent(FuotaTaskEvent value) { m_eventHasBeenSet = true; m_event = value; }
48 inline FuotaTaskEventLogOption& WithEvent(FuotaTaskEvent value) { SetEvent(value); return *this;}
50
52
53 inline LogLevel GetLogLevel() const { return m_logLevel; }
54 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
55 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
56 inline FuotaTaskEventLogOption& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
58 private:
59
61 bool m_eventHasBeenSet = false;
62
63 LogLevel m_logLevel{LogLevel::NOT_SET};
64 bool m_logLevelHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace IoTWireless
69} // 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