7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/DurationUnit.h>
21namespace ApplicationSignals
61 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
67 bool m_durationUnitHasBeenSet =
false;
70 bool m_durationHasBeenSet =
false;
bool DurationUnitHasBeenSet() const
AWS_APPLICATIONSIGNALS_API RollingInterval()
void SetDuration(int value)
void SetDurationUnit(DurationUnit &&value)
RollingInterval & WithDurationUnit(const DurationUnit &value)
bool DurationHasBeenSet() const
const DurationUnit & GetDurationUnit() const
AWS_APPLICATIONSIGNALS_API RollingInterval & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
RollingInterval & WithDuration(int value)
RollingInterval & WithDurationUnit(DurationUnit &&value)
AWS_APPLICATIONSIGNALS_API RollingInterval(Aws::Utils::Json::JsonView jsonValue)
void SetDurationUnit(const DurationUnit &value)
Aws::Utils::Json::JsonValue JsonValue