7#include <aws/core/utils/DateTime.h>
8#include <aws/iot/IoT_EXPORTS.h>
42 template <
typename StartTimeT = Aws::Utils::DateTime>
44 m_startTimeHasBeenSet =
true;
45 m_startTime = std::forward<StartTimeT>(value);
47 template <
typename StartTimeT = Aws::Utils::DateTime>
61 template <
typename EndTimeT = Aws::Utils::DateTime>
63 m_endTimeHasBeenSet =
true;
64 m_endTime = std::forward<EndTimeT>(value);
66 template <
typename EndTimeT = Aws::Utils::DateTime>
76 bool m_startTimeHasBeenSet =
false;
77 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