7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/FuotaTaskEventLogOption.h>
10#include <aws/iotwireless/model/FuotaTaskType.h>
11#include <aws/iotwireless/model/LogLevel.h>
22namespace IoTWireless {
45 m_typeHasBeenSet =
true;
59 m_logLevelHasBeenSet =
true;
72 template <
typename EventsT = Aws::Vector<FuotaTaskEventLogOption>>
74 m_eventsHasBeenSet =
true;
75 m_events = std::forward<EventsT>(value);
77 template <
typename EventsT = Aws::Vector<FuotaTaskEventLogOption>>
82 template <
typename EventsT = FuotaTaskEventLogOption>
84 m_eventsHasBeenSet =
true;
85 m_events.emplace_back(std::forward<EventsT>(value));
95 bool m_typeHasBeenSet =
false;
96 bool m_logLevelHasBeenSet =
false;
97 bool m_eventsHasBeenSet =
false;
FuotaTaskLogOption & WithLogLevel(LogLevel value)
FuotaTaskType GetType() const
const Aws::Vector< FuotaTaskEventLogOption > & GetEvents() const
LogLevel GetLogLevel() const
AWS_IOTWIRELESS_API FuotaTaskLogOption & operator=(Aws::Utils::Json::JsonView jsonValue)
FuotaTaskLogOption & WithEvents(EventsT &&value)
void SetType(FuotaTaskType value)
bool EventsHasBeenSet() const
FuotaTaskLogOption & WithType(FuotaTaskType value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
FuotaTaskLogOption & AddEvents(EventsT &&value)
AWS_IOTWIRELESS_API FuotaTaskLogOption()=default
bool TypeHasBeenSet() const
bool LogLevelHasBeenSet() const
void SetEvents(EventsT &&value)
AWS_IOTWIRELESS_API FuotaTaskLogOption(Aws::Utils::Json::JsonView jsonValue)
void SetLogLevel(LogLevel value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue