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
70 inline void SetDuration(
Duration&& value) { m_durationHasBeenSet =
true; m_duration = std::move(value); }
84 inline void SetCronExpressionForRecurrence(
const char* value) { m_cronExpressionForRecurrenceHasBeenSet =
true; m_cronExpressionForRecurrence.assign(value); }
92 bool m_startAtHasBeenSet =
false;
95 bool m_durationHasBeenSet =
false;
98 bool m_cronExpressionForRecurrenceHasBeenSet =
false;
AutoTuneMaintenanceSchedule & WithDuration(const Duration &value)
const Aws::String & GetCronExpressionForRecurrence() const
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(const char *value)
AutoTuneMaintenanceSchedule & WithStartAt(const Aws::Utils::DateTime &value)
void SetDuration(Duration &&value)
void SetDuration(const Duration &value)
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneMaintenanceSchedule & WithDuration(Duration &&value)
const Duration & GetDuration() const
bool DurationHasBeenSet() const
void SetStartAt(const Aws::Utils::DateTime &value)
void SetCronExpressionForRecurrence(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
bool CronExpressionForRecurrenceHasBeenSet() const
AWS_OPENSEARCHSERVICE_API AutoTuneMaintenanceSchedule()
AutoTuneMaintenanceSchedule & WithStartAt(Aws::Utils::DateTime &&value)
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(const Aws::String &value)
AutoTuneMaintenanceSchedule & WithCronExpressionForRecurrence(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartAt(Aws::Utils::DateTime &&value)
void SetCronExpressionForRecurrence(Aws::String &&value)
void SetCronExpressionForRecurrence(const char *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