7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/Action.h>
11#include <aws/glue/model/EventBatchingCondition.h>
12#include <aws/glue/model/Predicate.h>
13#include <aws/glue/model/TriggerState.h>
14#include <aws/glue/model/TriggerType.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename WorkflowNameT = Aws::String>
66 m_workflowNameHasBeenSet =
true;
67 m_workflowName = std::forward<WorkflowNameT>(value);
69 template <
typename WorkflowNameT = Aws::String>
82 template <
typename IdT = Aws::String>
84 m_idHasBeenSet =
true;
85 m_id = std::forward<IdT>(value);
87 template <
typename IdT = Aws::String>
89 SetId(std::forward<IdT>(value));
101 m_typeHasBeenSet =
true;
117 m_stateHasBeenSet =
true;
132 template <
typename DescriptionT = Aws::String>
134 m_descriptionHasBeenSet =
true;
135 m_description = std::forward<DescriptionT>(value);
137 template <
typename DescriptionT = Aws::String>
153 template <
typename ScheduleT = Aws::String>
155 m_scheduleHasBeenSet =
true;
156 m_schedule = std::forward<ScheduleT>(value);
158 template <
typename ScheduleT = Aws::String>
171 template <
typename ActionsT = Aws::Vector<Action>>
173 m_actionsHasBeenSet =
true;
174 m_actions = std::forward<ActionsT>(value);
176 template <
typename ActionsT = Aws::Vector<Action>>
181 template <
typename ActionsT = Action>
183 m_actionsHasBeenSet =
true;
184 m_actions.emplace_back(std::forward<ActionsT>(value));
195 template <
typename PredicateT = Predicate>
197 m_predicateHasBeenSet =
true;
198 m_predicate = std::forward<PredicateT>(value);
200 template <
typename PredicateT = Predicate>
214 template <
typename EventBatchingConditionT = EventBatchingCondition>
216 m_eventBatchingConditionHasBeenSet =
true;
217 m_eventBatchingCondition = std::forward<EventBatchingConditionT>(value);
219 template <
typename EventBatchingConditionT = EventBatchingCondition>
242 Predicate m_predicate;
244 EventBatchingCondition m_eventBatchingCondition;
245 bool m_nameHasBeenSet =
false;
246 bool m_workflowNameHasBeenSet =
false;
247 bool m_idHasBeenSet =
false;
248 bool m_typeHasBeenSet =
false;
249 bool m_stateHasBeenSet =
false;
250 bool m_descriptionHasBeenSet =
false;
251 bool m_scheduleHasBeenSet =
false;
252 bool m_actionsHasBeenSet =
false;
253 bool m_predicateHasBeenSet =
false;
254 bool m_eventBatchingConditionHasBeenSet =
false;
void SetPredicate(PredicateT &&value)
bool DescriptionHasBeenSet() const
Trigger & WithPredicate(PredicateT &&value)
const Aws::String & GetDescription() const
void SetEventBatchingCondition(EventBatchingConditionT &&value)
bool IdHasBeenSet() const
void SetSchedule(ScheduleT &&value)
Trigger & WithName(NameT &&value)
void SetType(TriggerType value)
void SetWorkflowName(WorkflowNameT &&value)
Trigger & WithState(TriggerState value)
const Aws::String & GetWorkflowName() const
const Aws::String & GetSchedule() const
Trigger & WithDescription(DescriptionT &&value)
Trigger & AddActions(ActionsT &&value)
Trigger & WithActions(ActionsT &&value)
Trigger & WithWorkflowName(WorkflowNameT &&value)
bool TypeHasBeenSet() const
TriggerState GetState() const
bool ScheduleHasBeenSet() const
AWS_GLUE_API Trigger & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Action > & GetActions() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventBatchingConditionHasBeenSet() const
const Aws::String & GetId() const
void SetDescription(DescriptionT &&value)
Trigger & WithSchedule(ScheduleT &&value)
bool NameHasBeenSet() const
const Predicate & GetPredicate() const
bool PredicateHasBeenSet() const
AWS_GLUE_API Trigger()=default
AWS_GLUE_API Trigger(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetActions(ActionsT &&value)
bool StateHasBeenSet() const
Trigger & WithEventBatchingCondition(EventBatchingConditionT &&value)
bool ActionsHasBeenSet() const
TriggerType GetType() const
const Aws::String & GetName() const
const EventBatchingCondition & GetEventBatchingCondition() const
Trigger & WithId(IdT &&value)
bool WorkflowNameHasBeenSet() const
void SetState(TriggerState value)
Trigger & WithType(TriggerType 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