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/VariableDefinition.h>
11#include <aws/iotevents-data/model/TimerDefinition.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>
63 template<
typename VariablesT = Aws::Vector<VariableDefinition>>
64 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet =
true; m_variables = std::forward<VariablesT>(value); }
65 template<
typename VariablesT = Aws::Vector<VariableDefinition>>
67 template<
typename VariablesT = VariableDefinition>
78 template<
typename TimersT = Aws::Vector<TimerDefinition>>
79 void SetTimers(TimersT&& value) { m_timersHasBeenSet =
true; m_timers = std::forward<TimersT>(value); }
80 template<
typename TimersT = Aws::Vector<TimerDefinition>>
82 template<
typename TimersT = TimerDefinition>
88 bool m_stateNameHasBeenSet =
false;
91 bool m_variablesHasBeenSet =
false;
94 bool m_timersHasBeenSet =
false;
void SetVariables(VariablesT &&value)
bool TimersHasBeenSet() const
DetectorStateDefinition & WithVariables(VariablesT &&value)
bool StateNameHasBeenSet() const
DetectorStateDefinition & AddVariables(VariablesT &&value)
AWS_IOTEVENTSDATA_API DetectorStateDefinition()=default
DetectorStateDefinition & AddTimers(TimersT &&value)
const Aws::Vector< TimerDefinition > & GetTimers() const
const Aws::Vector< VariableDefinition > & GetVariables() const
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
bool VariablesHasBeenSet() const
DetectorStateDefinition & WithStateName(StateNameT &&value)
AWS_IOTEVENTSDATA_API DetectorStateDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorStateDefinition & WithTimers(TimersT &&value)
AWS_IOTEVENTSDATA_API DetectorStateDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetTimers(TimersT &&value)
void SetStateName(StateNameT &&value)
const Aws::String & GetStateName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue