7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
46 template<
typename FromInclusiveT = Aws::Utils::DateTime>
47 void SetFromInclusive(FromInclusiveT&& value) { m_fromInclusiveHasBeenSet =
true; m_fromInclusive = std::forward<FromInclusiveT>(value); }
48 template<
typename FromInclusiveT = Aws::Utils::DateTime>
58 template<
typename ToExclusiveT = Aws::Utils::DateTime>
59 void SetToExclusive(ToExclusiveT&& value) { m_toExclusiveHasBeenSet =
true; m_toExclusive = std::forward<ToExclusiveT>(value); }
60 template<
typename ToExclusiveT = Aws::Utils::DateTime>
66 bool m_fromInclusiveHasBeenSet =
false;
69 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