7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/IoTEvents_EXPORTS.h>
10#include <aws/iotevents/model/Action.h>
43 template <
typename EventNameT = Aws::String>
45 m_eventNameHasBeenSet =
true;
46 m_eventName = std::forward<EventNameT>(value);
48 template <
typename EventNameT = Aws::String>
62 template <
typename ConditionT = Aws::String>
64 m_conditionHasBeenSet =
true;
65 m_condition = std::forward<ConditionT>(value);
67 template <
typename ConditionT = Aws::String>
80 template <
typename ActionsT = Aws::Vector<Action>>
82 m_actionsHasBeenSet =
true;
83 m_actions = std::forward<ActionsT>(value);
85 template <
typename ActionsT = Aws::Vector<Action>>
90 template <
typename ActionsT = Action>
92 m_actionsHasBeenSet =
true;
93 m_actions.emplace_back(std::forward<ActionsT>(value));
104 template <
typename NextStateT = Aws::String>
106 m_nextStateHasBeenSet =
true;
107 m_nextState = std::forward<NextStateT>(value);
109 template <
typename NextStateT = Aws::String>
123 bool m_eventNameHasBeenSet =
false;
124 bool m_conditionHasBeenSet =
false;
125 bool m_actionsHasBeenSet =
false;
126 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