7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
48 template<
typename StartTimeT = Aws::Utils::DateTime>
49 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
50 template<
typename StartTimeT = Aws::Utils::DateTime>
61 template<
typename EndTimeT = Aws::Utils::DateTime>
62 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
63 template<
typename EndTimeT = Aws::Utils::DateTime>
69 bool m_startTimeHasBeenSet =
false;
72 bool m_endTimeHasBeenSet =
false;
ViolationEventOccurrenceRange & WithEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
ViolationEventOccurrenceRange & WithStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
AWS_IOT_API ViolationEventOccurrenceRange()=default
bool StartTimeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
AWS_IOT_API ViolationEventOccurrenceRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_IOT_API ViolationEventOccurrenceRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue