7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/es/model/Duration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ElasticsearchService
67 inline void SetDuration(
Duration&& value) { m_durationHasBeenSet =
true; m_duration = std::move(value); }
82 inline void SetCronExpressionForRecurrence(
const char* value) { m_cronExpressionForRecurrenceHasBeenSet =
true; m_cronExpressionForRecurrence.assign(value); }
90 bool m_startAtHasBeenSet =
false;
93 bool m_durationHasBeenSet =
false;
96 bool m_cronExpressionForRecurrenceHasBeenSet =
false;
void SetCronExpressionForRecurrence(const Aws::String &value)
void SetStartAt(const Aws::Utils::DateTime &value)
AutoTuneMaintenanceSchedule & WithDuration(const Duration &value)
bool CronExpressionForRecurrenceHasBeenSet() const
void SetCronExpressionForRecurrence(const char *value)
void SetCronExpressionForRecurrence(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API AutoTuneMaintenanceSchedule()
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(const char *value)
AutoTuneMaintenanceSchedule & WithStartAt(Aws::Utils::DateTime &&value)
void SetStartAt(Aws::Utils::DateTime &&value)
AutoTuneMaintenanceSchedule & WithStartAt(const Aws::Utils::DateTime &value)
void SetDuration(Duration &&value)
const Aws::String & GetCronExpressionForRecurrence() const
const Duration & GetDuration() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API AutoTuneMaintenanceSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(const Aws::String &value)
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(Aws::String &&value)
const Aws::Utils::DateTime & GetStartAt() const
void SetDuration(const Duration &value)
AWS_ELASTICSEARCHSERVICE_API AutoTuneMaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
bool StartAtHasBeenSet() const
bool DurationHasBeenSet() const
AutoTuneMaintenanceSchedule & WithDuration(Duration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue