7#include <aws/core/utils/DateTime.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
19namespace ElasticsearchService {
46 m_enabledHasBeenSet =
true;
61 template <
typename StartTimeT = Aws::Utils::DateTime>
63 m_startTimeHasBeenSet =
true;
64 m_startTime = std::forward<StartTimeT>(value);
66 template <
typename StartTimeT = Aws::Utils::DateTime>
81 template <
typename EndTimeT = Aws::Utils::DateTime>
83 m_endTimeHasBeenSet =
true;
84 m_endTime = std::forward<EndTimeT>(value);
86 template <
typename EndTimeT = Aws::Utils::DateTime>
93 bool m_enabled{
false};
98 bool m_enabledHasBeenSet =
false;
99 bool m_startTimeHasBeenSet =
false;
100 bool m_endTimeHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseRequestOptions()=default
AutomatedSnapshotPauseRequestOptions & WithStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
void SetEnabled(bool value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(StartTimeT &&value)
bool EnabledHasBeenSet() const
AutomatedSnapshotPauseRequestOptions & WithEndTime(EndTimeT &&value)
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseRequestOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API AutomatedSnapshotPauseRequestOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
AutomatedSnapshotPauseRequestOptions & WithEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue