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
51 template<
typename StartAtT = Aws::Utils::DateTime>
52 void SetStartAt(StartAtT&& value) { m_startAtHasBeenSet =
true; m_startAt = std::forward<StartAtT>(value); }
53 template<
typename StartAtT = Aws::Utils::DateTime>
66 template<
typename DurationT = Duration>
67 void SetDuration(DurationT&& value) { m_durationHasBeenSet =
true; m_duration = std::forward<DurationT>(value); }
68 template<
typename DurationT = Duration>
80 template<
typename CronExpressionForRecurrenceT = Aws::String>
81 void SetCronExpressionForRecurrence(CronExpressionForRecurrenceT&& value) { m_cronExpressionForRecurrenceHasBeenSet =
true; m_cronExpressionForRecurrence = std::forward<CronExpressionForRecurrenceT>(value); }
82 template<
typename CronExpressionForRecurrenceT = Aws::String>
88 bool m_startAtHasBeenSet =
false;
91 bool m_durationHasBeenSet =
false;
94 bool m_cronExpressionForRecurrenceHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API AutoTuneMaintenanceSchedule()=default
bool CronExpressionForRecurrenceHasBeenSet() const
AutoTuneMaintenanceSchedule & WithStartAt(StartAtT &&value)
void SetStartAt(StartAtT &&value)
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(CronExpressionForRecurrenceT &&value)
void SetDuration(DurationT &&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 & WithDuration(DurationT &&value)
void SetCronExpressionForRecurrence(CronExpressionForRecurrenceT &&value)
const Aws::Utils::DateTime & GetStartAt() const
AWS_ELASTICSEARCHSERVICE_API AutoTuneMaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
bool StartAtHasBeenSet() const
bool DurationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue