AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeeklySchedule.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/DayOfWeek.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MACIE2_API WeeklySchedule();
36 AWS_MACIE2_API WeeklySchedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
46 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
47 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
48 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
49 inline WeeklySchedule& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
50 inline WeeklySchedule& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
52 private:
53
54 DayOfWeek m_dayOfWeek;
55 bool m_dayOfWeekHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Macie2
60} // namespace Aws
WeeklySchedule & WithDayOfWeek(const DayOfWeek &value)
void SetDayOfWeek(const DayOfWeek &value)
AWS_MACIE2_API WeeklySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API WeeklySchedule(Aws::Utils::Json::JsonView jsonValue)
WeeklySchedule & WithDayOfWeek(DayOfWeek &&value)
const DayOfWeek & GetDayOfWeek() const
void SetDayOfWeek(DayOfWeek &&value)
Aws::Utils::Json::JsonValue JsonValue