7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/RollingInterval.h>
9#include <aws/application-signals/model/CalendarInterval.h>
22namespace ApplicationSignals
36 AWS_APPLICATIONSIGNALS_API
Interval() =
default;
49 template<
typename RollingIntervalT = RollingInterval>
50 void SetRollingInterval(RollingIntervalT&& value) { m_rollingIntervalHasBeenSet =
true; m_rollingInterval = std::forward<RollingIntervalT>(value); }
51 template<
typename RollingIntervalT = RollingInterval>
62 template<
typename CalendarIntervalT = CalendarInterval>
63 void SetCalendarInterval(CalendarIntervalT&& value) { m_calendarIntervalHasBeenSet =
true; m_calendarInterval = std::forward<CalendarIntervalT>(value); }
64 template<
typename CalendarIntervalT = CalendarInterval>
70 bool m_rollingIntervalHasBeenSet =
false;
73 bool m_calendarIntervalHasBeenSet =
false;
bool RollingIntervalHasBeenSet() const
Interval & WithRollingInterval(RollingIntervalT &&value)
bool CalendarIntervalHasBeenSet() const
const CalendarInterval & GetCalendarInterval() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API Interval()=default
void SetCalendarInterval(CalendarIntervalT &&value)
void SetRollingInterval(RollingIntervalT &&value)
Interval & WithCalendarInterval(CalendarIntervalT &&value)
AWS_APPLICATIONSIGNALS_API Interval(Aws::Utils::Json::JsonView jsonValue)
const RollingInterval & GetRollingInterval() const
AWS_APPLICATIONSIGNALS_API Interval & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue