7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/DailySchedule.h>
9#include <aws/inspector2/model/MonthlySchedule.h>
10#include <aws/inspector2/model/OneTimeSchedule.h>
11#include <aws/inspector2/model/WeeklySchedule.h>
49 template<
typename DailyT = DailySchedule>
50 void SetDaily(DailyT&& value) { m_dailyHasBeenSet =
true; m_daily = std::forward<DailyT>(value); }
51 template<
typename DailyT = DailySchedule>
61 template<
typename MonthlyT = MonthlySchedule>
62 void SetMonthly(MonthlyT&& value) { m_monthlyHasBeenSet =
true; m_monthly = std::forward<MonthlyT>(value); }
63 template<
typename MonthlyT = MonthlySchedule>
73 template<
typename OneTimeT = OneTimeSchedule>
74 void SetOneTime(OneTimeT&& value) { m_oneTimeHasBeenSet =
true; m_oneTime = std::forward<OneTimeT>(value); }
75 template<
typename OneTimeT = OneTimeSchedule>
85 template<
typename WeeklyT = WeeklySchedule>
86 void SetWeekly(WeeklyT&& value) { m_weeklyHasBeenSet =
true; m_weekly = std::forward<WeeklyT>(value); }
87 template<
typename WeeklyT = WeeklySchedule>
93 bool m_dailyHasBeenSet =
false;
96 bool m_monthlyHasBeenSet =
false;
99 bool m_oneTimeHasBeenSet =
false;
102 bool m_weeklyHasBeenSet =
false;
Schedule & WithOneTime(OneTimeT &&value)
Schedule & WithMonthly(MonthlyT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool MonthlyHasBeenSet() const
Schedule & WithWeekly(WeeklyT &&value)
void SetWeekly(WeeklyT &&value)
bool WeeklyHasBeenSet() const
const DailySchedule & GetDaily() const
AWS_INSPECTOR2_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const WeeklySchedule & GetWeekly() const
bool OneTimeHasBeenSet() const
void SetDaily(DailyT &&value)
AWS_INSPECTOR2_API Schedule()=default
AWS_INSPECTOR2_API Schedule(Aws::Utils::Json::JsonView jsonValue)
const OneTimeSchedule & GetOneTime() const
void SetOneTime(OneTimeT &&value)
Schedule & WithDaily(DailyT &&value)
const MonthlySchedule & GetMonthly() const
void SetMonthly(MonthlyT &&value)
bool DailyHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue