7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/DateRangeUnit.h>
46 inline void SetValue(
int value) { m_valueHasBeenSet =
true; m_value = value; }
64 bool m_valueHasBeenSet =
false;
67 bool m_unitHasBeenSet =
false;
void SetUnit(const DateRangeUnit &value)
void SetUnit(DateRangeUnit &&value)
bool UnitHasBeenSet() const
AWS_SECURITYHUB_API DateRange()
DateRange & WithUnit(DateRangeUnit &&value)
AWS_SECURITYHUB_API DateRange & operator=(Aws::Utils::Json::JsonView jsonValue)
DateRange & WithUnit(const DateRangeUnit &value)
DateRange & WithValue(int value)
bool ValueHasBeenSet() const
const DateRangeUnit & GetUnit() const
AWS_SECURITYHUB_API DateRange(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue