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>
51 inline void SetEventName(
const char* value) { m_eventNameHasBeenSet =
true; m_eventName.assign(value); }
68 inline void SetCondition(
const char* value) { m_conditionHasBeenSet =
true; m_condition.assign(value); }
84 inline Event&
AddActions(
const Action& value) { m_actionsHasBeenSet =
true; m_actions.push_back(value);
return *
this; }
85 inline Event&
AddActions(
Action&& value) { m_actionsHasBeenSet =
true; m_actions.push_back(std::move(value));
return *
this; }
90 bool m_eventNameHasBeenSet =
false;
93 bool m_conditionHasBeenSet =
false;
96 bool m_actionsHasBeenSet =
false;
AWS_IOTEVENTS_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithCondition(const Aws::String &value)
void SetEventName(Aws::String &&value)
Event & AddActions(Action &&value)
Event & WithCondition(const char *value)
void SetEventName(const char *value)
AWS_IOTEVENTS_API Event()
void SetCondition(const char *value)
const Aws::String & GetEventName() const
Event & WithEventName(Aws::String &&value)
const Aws::String & GetCondition() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionsHasBeenSet() const
bool EventNameHasBeenSet() const
void SetEventName(const Aws::String &value)
void SetActions(Aws::Vector< Action > &&value)
Event & AddActions(const Action &value)
Event & WithEventName(const char *value)
bool ConditionHasBeenSet() const
const Aws::Vector< Action > & GetActions() const
Event & WithEventName(const Aws::String &value)
Event & WithCondition(Aws::String &&value)
AWS_IOTEVENTS_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCondition(Aws::String &&value)
Event & WithActions(Aws::Vector< Action > &&value)
void SetActions(const Aws::Vector< Action > &value)
Event & WithActions(const Aws::Vector< Action > &value)
void SetCondition(const Aws::String &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