7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/CalendarInterval.h>
9#include <aws/application-signals/model/RollingInterval.h>
20namespace ApplicationSignals {
31 AWS_APPLICATIONSIGNALS_API
Interval() =
default;
43 template <
typename RollingIntervalT = RollingInterval>
45 m_rollingIntervalHasBeenSet =
true;
46 m_rollingInterval = std::forward<RollingIntervalT>(value);
48 template <
typename RollingIntervalT = RollingInterval>
62 template <
typename CalendarIntervalT = CalendarInterval>
64 m_calendarIntervalHasBeenSet =
true;
65 m_calendarInterval = std::forward<CalendarIntervalT>(value);
67 template <
typename CalendarIntervalT = CalendarInterval>
75 bool m_rollingIntervalHasBeenSet =
false;
78 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