AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobScheduleFrequency.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/DailySchedule.h>
9#include <aws/macie2/model/MonthlySchedule.h>
10#include <aws/macie2/model/WeeklySchedule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API JobScheduleFrequency();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DailySchedule& GetDailySchedule() const{ return m_dailySchedule; }
48 inline bool DailyScheduleHasBeenSet() const { return m_dailyScheduleHasBeenSet; }
49 inline void SetDailySchedule(const DailySchedule& value) { m_dailyScheduleHasBeenSet = true; m_dailySchedule = value; }
50 inline void SetDailySchedule(DailySchedule&& value) { m_dailyScheduleHasBeenSet = true; m_dailySchedule = std::move(value); }
51 inline JobScheduleFrequency& WithDailySchedule(const DailySchedule& value) { SetDailySchedule(value); return *this;}
52 inline JobScheduleFrequency& WithDailySchedule(DailySchedule&& value) { SetDailySchedule(std::move(value)); return *this;}
54
56
59 inline const MonthlySchedule& GetMonthlySchedule() const{ return m_monthlySchedule; }
60 inline bool MonthlyScheduleHasBeenSet() const { return m_monthlyScheduleHasBeenSet; }
61 inline void SetMonthlySchedule(const MonthlySchedule& value) { m_monthlyScheduleHasBeenSet = true; m_monthlySchedule = value; }
62 inline void SetMonthlySchedule(MonthlySchedule&& value) { m_monthlyScheduleHasBeenSet = true; m_monthlySchedule = std::move(value); }
63 inline JobScheduleFrequency& WithMonthlySchedule(const MonthlySchedule& value) { SetMonthlySchedule(value); return *this;}
64 inline JobScheduleFrequency& WithMonthlySchedule(MonthlySchedule&& value) { SetMonthlySchedule(std::move(value)); return *this;}
66
68
71 inline const WeeklySchedule& GetWeeklySchedule() const{ return m_weeklySchedule; }
72 inline bool WeeklyScheduleHasBeenSet() const { return m_weeklyScheduleHasBeenSet; }
73 inline void SetWeeklySchedule(const WeeklySchedule& value) { m_weeklyScheduleHasBeenSet = true; m_weeklySchedule = value; }
74 inline void SetWeeklySchedule(WeeklySchedule&& value) { m_weeklyScheduleHasBeenSet = true; m_weeklySchedule = std::move(value); }
75 inline JobScheduleFrequency& WithWeeklySchedule(const WeeklySchedule& value) { SetWeeklySchedule(value); return *this;}
76 inline JobScheduleFrequency& WithWeeklySchedule(WeeklySchedule&& value) { SetWeeklySchedule(std::move(value)); return *this;}
78 private:
79
80 DailySchedule m_dailySchedule;
81 bool m_dailyScheduleHasBeenSet = false;
82
83 MonthlySchedule m_monthlySchedule;
84 bool m_monthlyScheduleHasBeenSet = false;
85
86 WeeklySchedule m_weeklySchedule;
87 bool m_weeklyScheduleHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Macie2
92} // namespace Aws
const WeeklySchedule & GetWeeklySchedule() const
const MonthlySchedule & GetMonthlySchedule() const
void SetWeeklySchedule(WeeklySchedule &&value)
AWS_MACIE2_API JobScheduleFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API JobScheduleFrequency(Aws::Utils::Json::JsonView jsonValue)
void SetMonthlySchedule(MonthlySchedule &&value)
JobScheduleFrequency & WithDailySchedule(const DailySchedule &value)
JobScheduleFrequency & WithMonthlySchedule(const MonthlySchedule &value)
void SetDailySchedule(const DailySchedule &value)
const DailySchedule & GetDailySchedule() const
JobScheduleFrequency & WithMonthlySchedule(MonthlySchedule &&value)
JobScheduleFrequency & WithDailySchedule(DailySchedule &&value)
void SetWeeklySchedule(const WeeklySchedule &value)
JobScheduleFrequency & WithWeeklySchedule(const WeeklySchedule &value)
void SetMonthlySchedule(const MonthlySchedule &value)
JobScheduleFrequency & WithWeeklySchedule(WeeklySchedule &&value)
Aws::Utils::Json::JsonValue JsonValue