7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/TriggerType.h>
11#include <aws/glue/model/Predicate.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/glue/model/EventBatchingCondition.h>
15#include <aws/glue/model/Action.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename WorkflowNameT = Aws::String>
62 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet =
true; m_workflowName = std::forward<WorkflowNameT>(value); }
63 template<
typename WorkflowNameT = Aws::String>
87 template<
typename ScheduleT = Aws::String>
88 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
89 template<
typename ScheduleT = Aws::String>
100 template<
typename PredicateT = Predicate>
101 void SetPredicate(PredicateT&& value) { m_predicateHasBeenSet =
true; m_predicate = std::forward<PredicateT>(value); }
102 template<
typename PredicateT = Predicate>
112 template<
typename ActionsT = Aws::Vector<Action>>
113 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
114 template<
typename ActionsT = Aws::Vector<Action>>
116 template<
typename ActionsT = Action>
126 template<
typename DescriptionT = Aws::String>
127 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
128 template<
typename DescriptionT = Aws::String>
140 inline void SetStartOnCreation(
bool value) { m_startOnCreationHasBeenSet =
true; m_startOnCreation = value; }
153 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
155 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
159 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
170 template<
typename EventBatchingConditionT = EventBatchingCondition>
171 void SetEventBatchingCondition(EventBatchingConditionT&& value) { m_eventBatchingConditionHasBeenSet =
true; m_eventBatchingCondition = std::forward<EventBatchingConditionT>(value); }
172 template<
typename EventBatchingConditionT = EventBatchingCondition>
178 bool m_nameHasBeenSet =
false;
181 bool m_workflowNameHasBeenSet =
false;
184 bool m_typeHasBeenSet =
false;
187 bool m_scheduleHasBeenSet =
false;
189 Predicate m_predicate;
190 bool m_predicateHasBeenSet =
false;
193 bool m_actionsHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
198 bool m_startOnCreation{
false};
199 bool m_startOnCreationHasBeenSet =
false;
202 bool m_tagsHasBeenSet =
false;
204 EventBatchingCondition m_eventBatchingCondition;
205 bool m_eventBatchingConditionHasBeenSet =
false;
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool StartOnCreationHasBeenSet() const
AWS_GLUE_API CreateTriggerRequest()=default
void SetPredicate(PredicateT &&value)
CreateTriggerRequest & WithSchedule(ScheduleT &&value)
bool GetStartOnCreation() const
bool DescriptionHasBeenSet() const
CreateTriggerRequest & WithType(TriggerType value)
virtual const char * GetServiceRequestName() const override
TriggerType GetType() const
CreateTriggerRequest & WithActions(ActionsT &&value)
void SetDescription(DescriptionT &&value)
bool WorkflowNameHasBeenSet() const
bool NameHasBeenSet() const
void SetType(TriggerType value)
void SetActions(ActionsT &&value)
void SetStartOnCreation(bool value)
CreateTriggerRequest & WithWorkflowName(WorkflowNameT &&value)
void SetEventBatchingCondition(EventBatchingConditionT &&value)
CreateTriggerRequest & WithDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
AWS_GLUE_API Aws::String SerializePayload() const override
CreateTriggerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetWorkflowName() const
const Aws::String & GetSchedule() const
CreateTriggerRequest & WithPredicate(PredicateT &&value)
void SetWorkflowName(WorkflowNameT &&value)
bool PredicateHasBeenSet() const
const Aws::Vector< Action > & GetActions() const
CreateTriggerRequest & AddActions(ActionsT &&value)
bool ActionsHasBeenSet() const
void SetTags(TagsT &&value)
const EventBatchingCondition & GetEventBatchingCondition() const
CreateTriggerRequest & WithEventBatchingCondition(EventBatchingConditionT &&value)
CreateTriggerRequest & WithStartOnCreation(bool value)
bool EventBatchingConditionHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateTriggerRequest & WithTags(TagsT &&value)
const Predicate & GetPredicate() const
const Aws::String & GetDescription() const
bool ScheduleHasBeenSet() const
void SetSchedule(ScheduleT &&value)
CreateTriggerRequest & WithName(NameT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector