7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dlm/DLM_EXPORTS.h>
10#include <aws/dlm/model/IntervalUnitValues.h>
11#include <aws/dlm/model/LocationValues.h>
12#include <aws/dlm/model/Script.h>
64 m_locationHasBeenSet =
true;
81 m_intervalHasBeenSet =
true;
97 m_intervalUnitHasBeenSet =
true;
98 m_intervalUnit = value;
115 template <
typename TimesT = Aws::Vector<Aws::String>>
117 m_timesHasBeenSet =
true;
118 m_times = std::forward<TimesT>(value);
120 template <
typename TimesT = Aws::Vector<Aws::String>>
122 SetTimes(std::forward<TimesT>(value));
125 template <
typename TimesT = Aws::String>
127 m_timesHasBeenSet =
true;
128 m_times.emplace_back(std::forward<TimesT>(value));
142 template <
typename CronExpressionT = Aws::String>
144 m_cronExpressionHasBeenSet =
true;
145 m_cronExpression = std::forward<CronExpressionT>(value);
147 template <
typename CronExpressionT = Aws::String>
166 template <
typename ScriptsT = Aws::Vector<Script>>
168 m_scriptsHasBeenSet =
true;
169 m_scripts = std::forward<ScriptsT>(value);
171 template <
typename ScriptsT = Aws::Vector<Script>>
176 template <
typename ScriptsT = Script>
178 m_scriptsHasBeenSet =
true;
179 m_scripts.emplace_back(std::forward<ScriptsT>(value));
195 bool m_locationHasBeenSet =
false;
196 bool m_intervalHasBeenSet =
false;
197 bool m_intervalUnitHasBeenSet =
false;
198 bool m_timesHasBeenSet =
false;
199 bool m_cronExpressionHasBeenSet =
false;
200 bool m_scriptsHasBeenSet =
false;
LocationValues GetLocation() const
CreateRule & AddScripts(ScriptsT &&value)
CreateRule & WithLocation(LocationValues value)
const Aws::Vector< Aws::String > & GetTimes() const
CreateRule & WithInterval(int value)
CreateRule & WithTimes(TimesT &&value)
bool ScriptsHasBeenSet() const
void SetIntervalUnit(IntervalUnitValues value)
CreateRule & WithCronExpression(CronExpressionT &&value)
bool IntervalUnitHasBeenSet() const
void SetInterval(int value)
CreateRule & AddTimes(TimesT &&value)
void SetCronExpression(CronExpressionT &&value)
bool LocationHasBeenSet() const
AWS_DLM_API CreateRule()=default
void SetScripts(ScriptsT &&value)
CreateRule & WithScripts(ScriptsT &&value)
AWS_DLM_API CreateRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Script > & GetScripts() const
bool CronExpressionHasBeenSet() const
const Aws::String & GetCronExpression() const
bool IntervalHasBeenSet() const
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimes(TimesT &&value)
AWS_DLM_API CreateRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimesHasBeenSet() const
void SetLocation(LocationValues value)
IntervalUnitValues GetIntervalUnit() const
CreateRule & WithIntervalUnit(IntervalUnitValues 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