7#include <aws/core/utils/DateTime.h>
8#include <aws/health/Health_EXPORTS.h>
51 template <
typename FromT = Aws::Utils::DateTime>
53 m_fromHasBeenSet =
true;
54 m_from = std::forward<FromT>(value);
56 template <
typename FromT = Aws::Utils::DateTime>
58 SetFrom(std::forward<FromT>(value));
69 template <
typename ToT = Aws::Utils::DateTime>
71 m_toHasBeenSet =
true;
72 m_to = std::forward<ToT>(value);
74 template <
typename ToT = Aws::Utils::DateTime>
76 SetTo(std::forward<ToT>(value));
84 bool m_fromHasBeenSet =
false;
85 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