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>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetWorkflowName(
const char* value) { m_workflowNameHasBeenSet =
true; m_workflowName.assign(value); }
95 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
136 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
150 inline void SetStartOnCreation(
bool value) { m_startOnCreationHasBeenSet =
true; m_startOnCreation = value; }
191 bool m_nameHasBeenSet =
false;
194 bool m_workflowNameHasBeenSet =
false;
197 bool m_typeHasBeenSet =
false;
200 bool m_scheduleHasBeenSet =
false;
203 bool m_predicateHasBeenSet =
false;
206 bool m_actionsHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
211 bool m_startOnCreation;
212 bool m_startOnCreationHasBeenSet =
false;
215 bool m_tagsHasBeenSet =
false;
218 bool m_eventBatchingConditionHasBeenSet =
false;
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTriggerRequest & AddTags(const char *key, Aws::String &&value)
bool StartOnCreationHasBeenSet() const
void SetWorkflowName(const char *value)
void SetWorkflowName(const Aws::String &value)
bool GetStartOnCreation() const
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
CreateTriggerRequest & WithSchedule(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const char *value)
CreateTriggerRequest & WithPredicate(const Predicate &value)
void SetActions(const Aws::Vector< Action > &value)
bool WorkflowNameHasBeenSet() const
AWS_GLUE_API CreateTriggerRequest()
CreateTriggerRequest & WithEventBatchingCondition(EventBatchingCondition &&value)
bool NameHasBeenSet() const
CreateTriggerRequest & WithDescription(const Aws::String &value)
CreateTriggerRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetStartOnCreation(bool value)
void SetPredicate(const Predicate &value)
CreateTriggerRequest & AddTags(const char *key, const char *value)
CreateTriggerRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateTriggerRequest & WithSchedule(const char *value)
void SetWorkflowName(Aws::String &&value)
void SetSchedule(const Aws::String &value)
const TriggerType & GetType() const
CreateTriggerRequest & WithName(const char *value)
CreateTriggerRequest & WithActions(const Aws::Vector< Action > &value)
bool TagsHasBeenSet() const
AWS_GLUE_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetWorkflowName() const
CreateTriggerRequest & WithWorkflowName(const char *value)
void SetDescription(const Aws::String &value)
const Aws::String & GetSchedule() const
void SetName(Aws::String &&value)
CreateTriggerRequest & WithName(Aws::String &&value)
void SetActions(Aws::Vector< Action > &&value)
CreateTriggerRequest & WithType(TriggerType &&value)
bool PredicateHasBeenSet() const
CreateTriggerRequest & WithWorkflowName(Aws::String &&value)
const Aws::Vector< Action > & GetActions() const
CreateTriggerRequest & AddActions(const Action &value)
void SetPredicate(Predicate &&value)
CreateTriggerRequest & WithSchedule(Aws::String &&value)
CreateTriggerRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSchedule(Aws::String &&value)
CreateTriggerRequest & WithName(const Aws::String &value)
bool ActionsHasBeenSet() const
void SetName(const Aws::String &value)
void SetSchedule(const char *value)
void SetEventBatchingCondition(const EventBatchingCondition &value)
void SetType(const TriggerType &value)
const EventBatchingCondition & GetEventBatchingCondition() const
CreateTriggerRequest & WithStartOnCreation(bool value)
bool EventBatchingConditionHasBeenSet() const
CreateTriggerRequest & WithEventBatchingCondition(const EventBatchingCondition &value)
CreateTriggerRequest & AddActions(Action &&value)
bool TypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateTriggerRequest & WithDescription(const char *value)
void SetType(TriggerType &&value)
const Predicate & GetPredicate() const
CreateTriggerRequest & WithType(const TriggerType &value)
CreateTriggerRequest & AddTags(Aws::String &&key, const char *value)
void SetEventBatchingCondition(EventBatchingCondition &&value)
CreateTriggerRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateTriggerRequest & WithActions(Aws::Vector< Action > &&value)
CreateTriggerRequest & WithPredicate(Predicate &&value)
CreateTriggerRequest & WithDescription(Aws::String &&value)
CreateTriggerRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
CreateTriggerRequest & WithWorkflowName(const Aws::String &value)
void SetName(const char *value)
CreateTriggerRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ScheduleHasBeenSet() const
const Aws::String & GetName() const
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