7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotevents-data/model/Variable.h>
11#include <aws/iotevents-data/model/Timer.h>
24namespace IoTEventsData
50 template<
typename StateNameT = Aws::String>
51 void SetStateName(StateNameT&& value) { m_stateNameHasBeenSet =
true; m_stateName = std::forward<StateNameT>(value); }
52 template<
typename StateNameT = Aws::String>
62 template<
typename VariablesT = Aws::Vector<Variable>>
63 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet =
true; m_variables = std::forward<VariablesT>(value); }
64 template<
typename VariablesT = Aws::Vector<Variable>>
66 template<
typename VariablesT = Variable>
67 DetectorState&
AddVariables(VariablesT&& value) { m_variablesHasBeenSet =
true; m_variables.emplace_back(std::forward<VariablesT>(value));
return *
this; }
76 template<
typename TimersT = Aws::Vector<Timer>>
77 void SetTimers(TimersT&& value) { m_timersHasBeenSet =
true; m_timers = std::forward<TimersT>(value); }
78 template<
typename TimersT = Aws::Vector<Timer>>
80 template<
typename TimersT = Timer>
81 DetectorState&
AddTimers(TimersT&& value) { m_timersHasBeenSet =
true; m_timers.emplace_back(std::forward<TimersT>(value));
return *
this; }
86 bool m_stateNameHasBeenSet =
false;
89 bool m_variablesHasBeenSet =
false;
92 bool m_timersHasBeenSet =
false;
const Aws::Vector< Variable > & GetVariables() const
AWS_IOTEVENTSDATA_API DetectorState(Aws::Utils::Json::JsonView jsonValue)
void SetStateName(StateNameT &&value)
AWS_IOTEVENTSDATA_API DetectorState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API DetectorState()=default
bool VariablesHasBeenSet() const
bool TimersHasBeenSet() const
DetectorState & AddVariables(VariablesT &&value)
DetectorState & AddTimers(TimersT &&value)
void SetVariables(VariablesT &&value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimers(TimersT &&value)
const Aws::String & GetStateName() const
DetectorState & WithTimers(TimersT &&value)
bool StateNameHasBeenSet() const
const Aws::Vector< Timer > & GetTimers() const
DetectorState & WithStateName(StateNameT &&value)
DetectorState & WithVariables(VariablesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue