7#include <aws/core/utils/DateTime.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9#include <aws/es/model/PauseState.h>
20namespace ElasticsearchService {
44 m_enabledHasBeenSet =
true;
59 template <
typename StartTimeT = Aws::Utils::DateTime>
61 m_startTimeHasBeenSet =
true;
62 m_startTime = std::forward<StartTimeT>(value);
64 template <
typename StartTimeT = Aws::Utils::DateTime>
77 template <
typename EndTimeT = Aws::Utils::DateTime>
79 m_endTimeHasBeenSet =
true;
80 m_endTime = std::forward<EndTimeT>(value);
82 template <
typename EndTimeT = Aws::Utils::DateTime>
98 m_stateHasBeenSet =
true;
107 bool m_enabled{
false};
114 bool m_enabledHasBeenSet =
false;
115 bool m_startTimeHasBeenSet =
false;
116 bool m_endTimeHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
AutomatedSnapshotPauseOptions & WithEndTime(EndTimeT &&value)
PauseState GetState() const
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetEndTime() const
bool StateHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseOptions()=default
void SetStartTime(StartTimeT &&value)
void SetState(PauseState value)
bool EnabledHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedSnapshotPauseOptions & WithEnabled(bool value)
AutomatedSnapshotPauseOptions & WithStartTime(StartTimeT &&value)
AutomatedSnapshotPauseOptions & WithState(PauseState value)
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseOptions(Aws::Utils::Json::JsonView jsonValue)
void SetEnabled(bool value)
void SetEndTime(EndTimeT &&value)
bool StartTimeHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue