7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/LocationValues.h>
9#include <aws/dlm/model/IntervalUnitValues.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/dlm/model/Script.h>
77 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
108 inline CreateRule&
AddTimes(
const char* value) { m_timesHasBeenSet =
true; m_times.push_back(value);
return *
this; }
122 inline void SetCronExpression(
const char* value) { m_cronExpressionHasBeenSet =
true; m_cronExpression.assign(value); }
150 bool m_locationHasBeenSet =
false;
153 bool m_intervalHasBeenSet =
false;
156 bool m_intervalUnitHasBeenSet =
false;
159 bool m_timesHasBeenSet =
false;
162 bool m_cronExpressionHasBeenSet =
false;
165 bool m_scriptsHasBeenSet =
false;
void SetScripts(const Aws::Vector< Script > &value)
const IntervalUnitValues & GetIntervalUnit() const
CreateRule & AddScripts(Script &&value)
void SetTimes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTimes() const
CreateRule & WithInterval(int value)
bool ScriptsHasBeenSet() const
void SetLocation(LocationValues &&value)
CreateRule & AddTimes(Aws::String &&value)
void SetCronExpression(const Aws::String &value)
CreateRule & WithIntervalUnit(IntervalUnitValues &&value)
void SetCronExpression(Aws::String &&value)
CreateRule & WithScripts(Aws::Vector< Script > &&value)
CreateRule & WithLocation(LocationValues &&value)
CreateRule & WithIntervalUnit(const IntervalUnitValues &value)
bool IntervalUnitHasBeenSet() const
void SetIntervalUnit(const IntervalUnitValues &value)
void SetScripts(Aws::Vector< Script > &&value)
void SetInterval(int value)
void SetTimes(Aws::Vector< Aws::String > &&value)
CreateRule & WithScripts(const Aws::Vector< Script > &value)
CreateRule & WithCronExpression(const Aws::String &value)
CreateRule & AddTimes(const char *value)
bool LocationHasBeenSet() const
CreateRule & WithCronExpression(Aws::String &&value)
CreateRule & WithTimes(const Aws::Vector< Aws::String > &value)
CreateRule & AddScripts(const Script &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 SetCronExpression(const char *value)
CreateRule & WithCronExpression(const char *value)
CreateRule & WithTimes(Aws::Vector< Aws::String > &&value)
AWS_DLM_API CreateRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const LocationValues & GetLocation() const
void SetIntervalUnit(IntervalUnitValues &&value)
bool TimesHasBeenSet() const
void SetLocation(const LocationValues &value)
CreateRule & WithLocation(const LocationValues &value)
CreateRule & AddTimes(const Aws::String &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