7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotevents/model/Action.h>
49 template<
typename EventNameT = Aws::String>
50 void SetEventName(EventNameT&& value) { m_eventNameHasBeenSet =
true; m_eventName = std::forward<EventNameT>(value); }
51 template<
typename EventNameT = Aws::String>
62 template<
typename ConditionT = Aws::String>
63 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet =
true; m_condition = std::forward<ConditionT>(value); }
64 template<
typename ConditionT = Aws::String>
74 template<
typename ActionsT = Aws::Vector<Action>>
75 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
76 template<
typename ActionsT = Aws::Vector<Action>>
78 template<
typename ActionsT = Action>
79 TransitionEvent&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
88 template<
typename NextStateT = Aws::String>
89 void SetNextState(NextStateT&& value) { m_nextStateHasBeenSet =
true; m_nextState = std::forward<NextStateT>(value); }
90 template<
typename NextStateT = Aws::String>
96 bool m_eventNameHasBeenSet =
false;
99 bool m_conditionHasBeenSet =
false;
102 bool m_actionsHasBeenSet =
false;
105 bool m_nextStateHasBeenSet =
false;
TransitionEvent & WithActions(ActionsT &&value)
bool NextStateHasBeenSet() const
AWS_IOTEVENTS_API TransitionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventName(EventNameT &&value)
TransitionEvent & WithCondition(ConditionT &&value)
AWS_IOTEVENTS_API TransitionEvent(Aws::Utils::Json::JsonView jsonValue)
TransitionEvent & AddActions(ActionsT &&value)
const Aws::String & GetEventName() const
TransitionEvent & WithNextState(NextStateT &&value)
TransitionEvent & WithEventName(EventNameT &&value)
void SetNextState(NextStateT &&value)
AWS_IOTEVENTS_API TransitionEvent()=default
bool ActionsHasBeenSet() const
void SetCondition(ConditionT &&value)
const Aws::Vector< Action > & GetActions() const
void SetActions(ActionsT &&value)
const Aws::String & GetCondition() const
bool EventNameHasBeenSet() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConditionHasBeenSet() const
const Aws::String & GetNextState() 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