AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TriggerUpdate.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/Predicate.h>
11#include <aws/glue/model/EventBatchingCondition.h>
12#include <aws/glue/model/Action.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_GLUE_API TriggerUpdate();
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline TriggerUpdate& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline TriggerUpdate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline TriggerUpdate& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline TriggerUpdate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline TriggerUpdate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline TriggerUpdate& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
81 inline const Aws::String& GetSchedule() const{ return m_schedule; }
82 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
83 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
84 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
85 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
86 inline TriggerUpdate& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
87 inline TriggerUpdate& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
88 inline TriggerUpdate& WithSchedule(const char* value) { SetSchedule(value); return *this;}
90
92
95 inline const Aws::Vector<Action>& GetActions() const{ return m_actions; }
96 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
97 inline void SetActions(const Aws::Vector<Action>& value) { m_actionsHasBeenSet = true; m_actions = value; }
98 inline void SetActions(Aws::Vector<Action>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
99 inline TriggerUpdate& WithActions(const Aws::Vector<Action>& value) { SetActions(value); return *this;}
100 inline TriggerUpdate& WithActions(Aws::Vector<Action>&& value) { SetActions(std::move(value)); return *this;}
101 inline TriggerUpdate& AddActions(const Action& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
102 inline TriggerUpdate& AddActions(Action&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
104
106
109 inline const Predicate& GetPredicate() const{ return m_predicate; }
110 inline bool PredicateHasBeenSet() const { return m_predicateHasBeenSet; }
111 inline void SetPredicate(const Predicate& value) { m_predicateHasBeenSet = true; m_predicate = value; }
112 inline void SetPredicate(Predicate&& value) { m_predicateHasBeenSet = true; m_predicate = std::move(value); }
113 inline TriggerUpdate& WithPredicate(const Predicate& value) { SetPredicate(value); return *this;}
114 inline TriggerUpdate& WithPredicate(Predicate&& value) { SetPredicate(std::move(value)); return *this;}
116
118
122 inline const EventBatchingCondition& GetEventBatchingCondition() const{ return m_eventBatchingCondition; }
123 inline bool EventBatchingConditionHasBeenSet() const { return m_eventBatchingConditionHasBeenSet; }
124 inline void SetEventBatchingCondition(const EventBatchingCondition& value) { m_eventBatchingConditionHasBeenSet = true; m_eventBatchingCondition = value; }
125 inline void SetEventBatchingCondition(EventBatchingCondition&& value) { m_eventBatchingConditionHasBeenSet = true; m_eventBatchingCondition = std::move(value); }
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 Aws::String m_schedule;
138 bool m_scheduleHasBeenSet = false;
139
140 Aws::Vector<Action> m_actions;
141 bool m_actionsHasBeenSet = false;
142
143 Predicate m_predicate;
144 bool m_predicateHasBeenSet = false;
145
146 EventBatchingCondition m_eventBatchingCondition;
147 bool m_eventBatchingConditionHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Glue
152} // namespace Aws
void SetActions(const Aws::Vector< Action > &value)
void SetName(const char *value)
void SetName(const Aws::String &value)
TriggerUpdate & WithDescription(const char *value)
TriggerUpdate & WithName(const char *value)
void SetSchedule(const Aws::String &value)
void SetActions(Aws::Vector< Action > &&value)
void SetDescription(const char *value)
TriggerUpdate & WithDescription(const Aws::String &value)
bool EventBatchingConditionHasBeenSet() const
void SetPredicate(Predicate &&value)
const Predicate & GetPredicate() const
void SetDescription(Aws::String &&value)
void SetSchedule(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetName() const
TriggerUpdate & WithName(const Aws::String &value)
const Aws::Vector< Action > & GetActions() const
void SetDescription(const Aws::String &value)
TriggerUpdate & AddActions(Action &&value)
TriggerUpdate & AddActions(const Action &value)
TriggerUpdate & WithActions(const Aws::Vector< Action > &value)
void SetEventBatchingCondition(EventBatchingCondition &&value)
TriggerUpdate & WithSchedule(const char *value)
const EventBatchingCondition & GetEventBatchingCondition() const
TriggerUpdate & WithSchedule(Aws::String &&value)
TriggerUpdate & WithDescription(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TriggerUpdate & WithName(Aws::String &&value)
AWS_GLUE_API TriggerUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSchedule(const char *value)
TriggerUpdate & WithPredicate(const Predicate &value)
TriggerUpdate & WithEventBatchingCondition(EventBatchingCondition &&value)
void SetName(Aws::String &&value)
void SetEventBatchingCondition(const EventBatchingCondition &value)
AWS_GLUE_API TriggerUpdate(Aws::Utils::Json::JsonView jsonValue)
TriggerUpdate & WithPredicate(Predicate &&value)
TriggerUpdate & WithSchedule(const Aws::String &value)
TriggerUpdate & WithEventBatchingCondition(const EventBatchingCondition &value)
const Aws::String & GetSchedule() const
void SetPredicate(const Predicate &value)
TriggerUpdate & WithActions(Aws::Vector< Action > &&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