7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/FuotaTaskType.h>
9#include <aws/iotwireless/model/LogLevel.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotwireless/model/FuotaTaskEventLogOption.h>
66 template<
typename EventsT = Aws::Vector<FuotaTaskEventLogOption>>
67 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
68 template<
typename EventsT = Aws::Vector<FuotaTaskEventLogOption>>
70 template<
typename EventsT = FuotaTaskEventLogOption>
71 FuotaTaskLogOption&
AddEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events.emplace_back(std::forward<EventsT>(value));
return *
this; }
76 bool m_typeHasBeenSet =
false;
79 bool m_logLevelHasBeenSet =
false;
82 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