7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/GlueRequest.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/Action.h>
13#include <aws/glue/model/EventBatchingCondition.h>
14#include <aws/glue/model/Predicate.h>
15#include <aws/glue/model/TriggerType.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename WorkflowNameT = Aws::String>
65 m_workflowNameHasBeenSet =
true;
66 m_workflowName = std::forward<WorkflowNameT>(value);
68 template <
typename WorkflowNameT = Aws::String>
82 m_typeHasBeenSet =
true;
101 template <
typename ScheduleT = Aws::String>
103 m_scheduleHasBeenSet =
true;
104 m_schedule = std::forward<ScheduleT>(value);
106 template <
typename ScheduleT = Aws::String>
120 template <
typename PredicateT = Predicate>
122 m_predicateHasBeenSet =
true;
123 m_predicate = std::forward<PredicateT>(value);
125 template <
typename PredicateT = Predicate>
138 template <
typename ActionsT = Aws::Vector<Action>>
140 m_actionsHasBeenSet =
true;
141 m_actions = std::forward<ActionsT>(value);
143 template <
typename ActionsT = Aws::Vector<Action>>
148 template <
typename ActionsT = Action>
150 m_actionsHasBeenSet =
true;
151 m_actions.emplace_back(std::forward<ActionsT>(value));
162 template <
typename DescriptionT = Aws::String>
164 m_descriptionHasBeenSet =
true;
165 m_description = std::forward<DescriptionT>(value);
167 template <
typename DescriptionT = Aws::String>
183 m_startOnCreationHasBeenSet =
true;
184 m_startOnCreation = value;
201 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 m_tagsHasBeenSet =
true;
204 m_tags = std::forward<TagsT>(value);
206 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 SetTags(std::forward<TagsT>(value));
211 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
213 m_tagsHasBeenSet =
true;
214 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
226 template <
typename EventBatchingConditionT = EventBatchingCondition>
228 m_eventBatchingConditionHasBeenSet =
true;
229 m_eventBatchingCondition = std::forward<EventBatchingConditionT>(value);
231 template <
typename EventBatchingConditionT = EventBatchingCondition>
246 Predicate m_predicate;
252 bool m_startOnCreation{
false};
256 EventBatchingCondition m_eventBatchingCondition;
257 bool m_nameHasBeenSet =
false;
258 bool m_workflowNameHasBeenSet =
false;
259 bool m_typeHasBeenSet =
false;
260 bool m_scheduleHasBeenSet =
false;
261 bool m_predicateHasBeenSet =
false;
262 bool m_actionsHasBeenSet =
false;
263 bool m_descriptionHasBeenSet =
false;
264 bool m_startOnCreationHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
266 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