7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
57 template<
typename FromT = Aws::Utils::DateTime>
58 void SetFrom(FromT&& value) { m_fromHasBeenSet =
true; m_from = std::forward<FromT>(value); }
59 template<
typename FromT = Aws::Utils::DateTime>
69 template<
typename ToT = Aws::Utils::DateTime>
70 void SetTo(ToT&& value) { m_toHasBeenSet =
true; m_to = std::forward<ToT>(value); }
71 template<
typename ToT = Aws::Utils::DateTime>
77 bool m_fromHasBeenSet =
false;
80 bool m_toHasBeenSet =
false;
const Aws::Utils::DateTime & GetFrom() const
AWS_HEALTH_API DateTimeRange(Aws::Utils::Json::JsonView jsonValue)
bool FromHasBeenSet() const
DateTimeRange & WithTo(ToT &&value)
const Aws::Utils::DateTime & GetTo() const
bool ToHasBeenSet() const
DateTimeRange & WithFrom(FromT &&value)
void SetFrom(FromT &&value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTH_API DateTimeRange()=default
AWS_HEALTH_API DateTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue