7#include <aws/core/utils/DateTime.h>
8#include <aws/shield/Shield_EXPORTS.h>
40 template <
typename FromInclusiveT = Aws::Utils::DateTime>
42 m_fromInclusiveHasBeenSet =
true;
43 m_fromInclusive = std::forward<FromInclusiveT>(value);
45 template <
typename FromInclusiveT = Aws::Utils::DateTime>
58 template <
typename ToExclusiveT = Aws::Utils::DateTime>
60 m_toExclusiveHasBeenSet =
true;
61 m_toExclusive = std::forward<ToExclusiveT>(value);
63 template <
typename ToExclusiveT = Aws::Utils::DateTime>
73 bool m_fromInclusiveHasBeenSet =
false;
74 bool m_toExclusiveHasBeenSet =
false;
const Aws::Utils::DateTime & GetFromInclusive() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetToExclusive() const
AWS_SHIELD_API TimeRange(Aws::Utils::Json::JsonView jsonValue)
void SetToExclusive(ToExclusiveT &&value)
void SetFromInclusive(FromInclusiveT &&value)
AWS_SHIELD_API TimeRange()=default
TimeRange & WithToExclusive(ToExclusiveT &&value)
AWS_SHIELD_API TimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeRange & WithFromInclusive(FromInclusiveT &&value)
bool ToExclusiveHasBeenSet() const
bool FromInclusiveHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue