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>
43 template <
typename OneTimeT = OneTimeSchedule>
45 m_oneTimeHasBeenSet =
true;
46 m_oneTime = std::forward<OneTimeT>(value);
48 template <
typename OneTimeT = OneTimeSchedule>
61 template <
typename DailyT = DailySchedule>
63 m_dailyHasBeenSet =
true;
64 m_daily = std::forward<DailyT>(value);
66 template <
typename DailyT = DailySchedule>
68 SetDaily(std::forward<DailyT>(value));
79 template <
typename WeeklyT = WeeklySchedule>
81 m_weeklyHasBeenSet =
true;
82 m_weekly = std::forward<WeeklyT>(value);
84 template <
typename WeeklyT = WeeklySchedule>
97 template <
typename MonthlyT = MonthlySchedule>
99 m_monthlyHasBeenSet =
true;
100 m_monthly = std::forward<MonthlyT>(value);
102 template <
typename MonthlyT = MonthlySchedule>
116 bool m_oneTimeHasBeenSet =
false;
117 bool m_dailyHasBeenSet =
false;
118 bool m_weeklyHasBeenSet =
false;
119 bool m_monthlyHasBeenSet =
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