7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/opensearch/model/Duration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace OpenSearchService
56 template<
typename StartAtT = Aws::Utils::DateTime>
57 void SetStartAt(StartAtT&& value) { m_startAtHasBeenSet =
true; m_startAt = std::forward<StartAtT>(value); }
58 template<
typename StartAtT = Aws::Utils::DateTime>
69 template<
typename DurationT = Duration>
70 void SetDuration(DurationT&& value) { m_durationHasBeenSet =
true; m_duration = std::forward<DurationT>(value); }
71 template<
typename DurationT = Duration>
82 template<
typename CronExpressionForRecurrenceT = Aws::String>
83 void SetCronExpressionForRecurrence(CronExpressionForRecurrenceT&& value) { m_cronExpressionForRecurrenceHasBeenSet =
true; m_cronExpressionForRecurrence = std::forward<CronExpressionForRecurrenceT>(value); }
84 template<
typename CronExpressionForRecurrenceT = Aws::String>
90 bool m_startAtHasBeenSet =
false;
93 bool m_durationHasBeenSet =
false;
96 bool m_cronExpressionForRecurrenceHasBeenSet =
false;
const Aws::String & GetCronExpressionForRecurrence() const
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDuration(DurationT &&value)
const Duration & GetDuration() const
bool DurationHasBeenSet() const
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(CronExpressionForRecurrenceT &&value)
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
bool CronExpressionForRecurrenceHasBeenSet() const
void SetStartAt(StartAtT &&value)
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule()=default
AutoTuneMaintenanceSchedule & WithStartAt(StartAtT &&value)
AutoTuneMaintenanceSchedule & WithDuration(DurationT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCronExpressionForRecurrence(CronExpressionForRecurrenceT &&value)
const Aws::Utils::DateTime & GetStartAt() const
bool StartAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue