AWS SDK for C++  1.9.109
AWS SDK for C++
WeeklySchedule.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Macie2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
45 
49  inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
50 
54  inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
55 
59  inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
60 
64  inline WeeklySchedule& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
65 
69  inline WeeklySchedule& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
70 
71  private:
72 
73  DayOfWeek m_dayOfWeek;
74  bool m_dayOfWeekHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace Macie2
79 } // namespace Aws
DayOfWeek.h
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::DayOfWeek
DayOfWeek
Definition: DayOfWeek.h:17
Macie2_EXPORTS.h
Aws::Macie2::Model::WeeklySchedule::WeeklySchedule
WeeklySchedule()
Aws::Macie2::Model::WeeklySchedule::WeeklySchedule
WeeklySchedule(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::WeeklySchedule::WithDayOfWeek
WeeklySchedule & WithDayOfWeek(const DayOfWeek &value)
Definition: WeeklySchedule.h:64
Aws::Macie2::Model::WeeklySchedule::SetDayOfWeek
void SetDayOfWeek(const DayOfWeek &value)
Definition: WeeklySchedule.h:54
Aws::Macie2::Model::WeeklySchedule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::WeeklySchedule
Definition: WeeklySchedule.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::WeeklySchedule::DayOfWeekHasBeenSet
bool DayOfWeekHasBeenSet() const
Definition: WeeklySchedule.h:49
Aws::Macie2::Model::WeeklySchedule::WithDayOfWeek
WeeklySchedule & WithDayOfWeek(DayOfWeek &&value)
Definition: WeeklySchedule.h:69
Aws::Macie2::Model::WeeklySchedule::operator=
WeeklySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::WeeklySchedule::SetDayOfWeek
void SetDayOfWeek(DayOfWeek &&value)
Definition: WeeklySchedule.h:59
Aws::Macie2::Model::WeeklySchedule::GetDayOfWeek
const DayOfWeek & GetDayOfWeek() const
Definition: WeeklySchedule.h:44