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>
32 AWS_IOTEVENTS_API
Event() =
default;
43 template <
typename EventNameT = Aws::String>
45 m_eventNameHasBeenSet =
true;
46 m_eventName = std::forward<EventNameT>(value);
48 template <
typename EventNameT = Aws::String>
64 template <
typename ConditionT = Aws::String>
66 m_conditionHasBeenSet =
true;
67 m_condition = std::forward<ConditionT>(value);
69 template <
typename ConditionT = Aws::String>
82 template <
typename ActionsT = Aws::Vector<Action>>
84 m_actionsHasBeenSet =
true;
85 m_actions = std::forward<ActionsT>(value);
87 template <
typename ActionsT = Aws::Vector<Action>>
92 template <
typename ActionsT = Action>
94 m_actionsHasBeenSet =
true;
95 m_actions.emplace_back(std::forward<ActionsT>(value));
105 bool m_eventNameHasBeenSet =
false;
106 bool m_conditionHasBeenSet =
false;
107 bool m_actionsHasBeenSet =
false;
Event & WithCondition(ConditionT &&value)
AWS_IOTEVENTS_API Event(Aws::Utils::Json::JsonView jsonValue)
void SetEventName(EventNameT &&value)
void SetActions(ActionsT &&value)
const Aws::String & GetEventName() const
Event & WithEventName(EventNameT &&value)
const Aws::String & GetCondition() const
void SetCondition(ConditionT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionsHasBeenSet() const
AWS_IOTEVENTS_API Event()=default
bool EventNameHasBeenSet() const
Event & AddActions(ActionsT &&value)
Event & WithActions(ActionsT &&value)
bool ConditionHasBeenSet() const
const Aws::Vector< Action > & GetActions() const
AWS_IOTEVENTS_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue