7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/TriggerType.h>
10#include <aws/glue/model/TriggerState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/Predicate.h>
13#include <aws/glue/model/EventBatchingCondition.h>
14#include <aws/glue/model/Action.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetWorkflowName(
const char* value) { m_workflowNameHasBeenSet =
true; m_workflowName.assign(value); }
81 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
82 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
120 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
137 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
154 inline Trigger&
AddActions(
Action&& value) { m_actionsHasBeenSet =
true; m_actions.push_back(std::move(value));
return *
this; }
184 bool m_nameHasBeenSet =
false;
187 bool m_workflowNameHasBeenSet =
false;
190 bool m_idHasBeenSet =
false;
193 bool m_typeHasBeenSet =
false;
196 bool m_stateHasBeenSet =
false;
199 bool m_descriptionHasBeenSet =
false;
202 bool m_scheduleHasBeenSet =
false;
205 bool m_actionsHasBeenSet =
false;
208 bool m_predicateHasBeenSet =
false;
211 bool m_eventBatchingConditionHasBeenSet =
false;
void SetActions(Aws::Vector< Action > &&value)
Trigger & WithWorkflowName(const Aws::String &value)
bool DescriptionHasBeenSet() const
Trigger & WithId(const Aws::String &value)
Trigger & WithName(const Aws::String &value)
Trigger & WithName(const char *value)
void SetPredicate(Predicate &&value)
void SetState(TriggerState &&value)
const Aws::String & GetDescription() const
Trigger & WithId(const char *value)
void SetSchedule(Aws::String &&value)
void SetWorkflowName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetWorkflowName(Aws::String &&value)
Trigger & WithDescription(const char *value)
bool IdHasBeenSet() const
Trigger & WithType(const TriggerType &value)
Trigger & WithState(const TriggerState &value)
void SetId(Aws::String &&value)
const TriggerState & GetState() const
void SetName(const char *value)
const Aws::String & GetWorkflowName() const
void SetName(Aws::String &&value)
const Aws::String & GetSchedule() const
Trigger & WithActions(Aws::Vector< Action > &&value)
void SetType(TriggerType &&value)
Trigger & WithWorkflowName(const char *value)
bool TypeHasBeenSet() const
Trigger & WithDescription(const Aws::String &value)
Trigger & WithDescription(Aws::String &&value)
Trigger & WithPredicate(const Predicate &value)
void SetActions(const Aws::Vector< Action > &value)
bool ScheduleHasBeenSet() const
void SetSchedule(const Aws::String &value)
void SetState(const TriggerState &value)
Trigger & WithPredicate(Predicate &&value)
Trigger & AddActions(Action &&value)
void SetName(const Aws::String &value)
AWS_GLUE_API Trigger & operator=(Aws::Utils::Json::JsonView jsonValue)
const TriggerType & GetType() const
void SetType(const TriggerType &value)
Trigger & WithEventBatchingCondition(EventBatchingCondition &&value)
const Aws::Vector< Action > & GetActions() const
void SetSchedule(const char *value)
Trigger & AddActions(const Action &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventBatchingConditionHasBeenSet() const
Trigger & WithSchedule(Aws::String &&value)
const Aws::String & GetId() const
void SetPredicate(const Predicate &value)
Trigger & WithId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetWorkflowName(const char *value)
Trigger & WithEventBatchingCondition(const EventBatchingCondition &value)
Trigger & WithType(TriggerType &&value)
void SetEventBatchingCondition(EventBatchingCondition &&value)
Trigger & WithState(TriggerState &&value)
bool NameHasBeenSet() const
const Predicate & GetPredicate() const
Trigger & WithSchedule(const char *value)
bool PredicateHasBeenSet() const
Trigger & WithWorkflowName(Aws::String &&value)
AWS_GLUE_API Trigger(Aws::Utils::Json::JsonView jsonValue)
Trigger & WithName(Aws::String &&value)
bool StateHasBeenSet() const
Trigger & WithSchedule(const Aws::String &value)
void SetId(const Aws::String &value)
void SetDescription(const char *value)
bool ActionsHasBeenSet() const
const Aws::String & GetName() const
const EventBatchingCondition & GetEventBatchingCondition() const
void SetEventBatchingCondition(const EventBatchingCondition &value)
bool WorkflowNameHasBeenSet() const
Trigger & WithActions(const Aws::Vector< Action > &value)
void SetId(const char *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