7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/Predicate.h>
11#include <aws/glue/model/EventBatchingCondition.h>
12#include <aws/glue/model/Action.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
79 template<
typename ScheduleT = Aws::String>
80 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
81 template<
typename ScheduleT = Aws::String>
91 template<
typename ActionsT = Aws::Vector<Action>>
92 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
93 template<
typename ActionsT = Aws::Vector<Action>>
95 template<
typename ActionsT = Action>
96 TriggerUpdate&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
105 template<
typename PredicateT = Predicate>
106 void SetPredicate(PredicateT&& value) { m_predicateHasBeenSet =
true; m_predicate = std::forward<PredicateT>(value); }
107 template<
typename PredicateT = Predicate>
118 template<
typename EventBatchingConditionT = EventBatchingCondition>
119 void SetEventBatchingCondition(EventBatchingConditionT&& value) { m_eventBatchingConditionHasBeenSet =
true; m_eventBatchingCondition = std::forward<EventBatchingConditionT>(value); }
120 template<
typename EventBatchingConditionT = EventBatchingCondition>
126 bool m_nameHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_scheduleHasBeenSet =
false;
135 bool m_actionsHasBeenSet =
false;
138 bool m_predicateHasBeenSet =
false;
141 bool m_eventBatchingConditionHasBeenSet =
false;
void SetActions(ActionsT &&value)
bool ScheduleHasBeenSet() const
bool NameHasBeenSet() const
TriggerUpdate & WithEventBatchingCondition(EventBatchingConditionT &&value)
TriggerUpdate & WithName(NameT &&value)
TriggerUpdate & AddActions(ActionsT &&value)
void SetSchedule(ScheduleT &&value)
bool EventBatchingConditionHasBeenSet() const
const Predicate & GetPredicate() const
AWS_GLUE_API TriggerUpdate()=default
void SetPredicate(PredicateT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetName() const
void SetEventBatchingCondition(EventBatchingConditionT &&value)
const Aws::Vector< Action > & GetActions() const
TriggerUpdate & WithActions(ActionsT &&value)
const EventBatchingCondition & GetEventBatchingCondition() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
TriggerUpdate & WithDescription(DescriptionT &&value)
AWS_GLUE_API TriggerUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PredicateHasBeenSet() const
TriggerUpdate & WithPredicate(PredicateT &&value)
TriggerUpdate & WithSchedule(ScheduleT &&value)
AWS_GLUE_API TriggerUpdate(Aws::Utils::Json::JsonView jsonValue)
bool ActionsHasBeenSet() const
const Aws::String & GetSchedule() const
void SetDescription(DescriptionT &&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