7#include <aws/core/utils/DateTime.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/health/Health_EXPORTS.h>
41 AWS_HEALTH_API
DateTimeRange(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
43 AWS_HEALTH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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
bool FromHasBeenSet() const
DateTimeRange & WithTo(ToT &&value)
const Aws::Utils::DateTime & GetTo() const
AWS_HEALTH_API DateTimeRange & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_HEALTH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ToHasBeenSet() const
DateTimeRange & WithFrom(FromT &&value)
void SetFrom(FromT &&value)
AWS_HEALTH_API DateTimeRange()=default
AWS_HEALTH_API DateTimeRange(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)