AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonthlySchedule.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Day.h>
9#include <aws/inspector2/model/Time.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_INSPECTOR2_API MonthlySchedule();
36 AWS_INSPECTOR2_API MonthlySchedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Day& GetDay() const{ return m_day; }
46 inline bool DayHasBeenSet() const { return m_dayHasBeenSet; }
47 inline void SetDay(const Day& value) { m_dayHasBeenSet = true; m_day = value; }
48 inline void SetDay(Day&& value) { m_dayHasBeenSet = true; m_day = std::move(value); }
49 inline MonthlySchedule& WithDay(const Day& value) { SetDay(value); return *this;}
50 inline MonthlySchedule& WithDay(Day&& value) { SetDay(std::move(value)); return *this;}
52
54
57 inline const Time& GetStartTime() const{ return m_startTime; }
58 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
59 inline void SetStartTime(const Time& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
60 inline void SetStartTime(Time&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
61 inline MonthlySchedule& WithStartTime(const Time& value) { SetStartTime(value); return *this;}
62 inline MonthlySchedule& WithStartTime(Time&& value) { SetStartTime(std::move(value)); return *this;}
64 private:
65
66 Day m_day;
67 bool m_dayHasBeenSet = false;
68
69 Time m_startTime;
70 bool m_startTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
MonthlySchedule & WithDay(const Day &value)
MonthlySchedule & WithDay(Day &&value)
AWS_INSPECTOR2_API MonthlySchedule(Aws::Utils::Json::JsonView jsonValue)
MonthlySchedule & WithStartTime(const Time &value)
AWS_INSPECTOR2_API MonthlySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
MonthlySchedule & WithStartTime(Time &&value)
Aws::Utils::Json::JsonValue JsonValue