AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 Day GetDay() const { return m_day; }
46 inline bool DayHasBeenSet() const { return m_dayHasBeenSet; }
47 inline void SetDay(Day value) { m_dayHasBeenSet = true; m_day = value; }
48 inline MonthlySchedule& WithDay(Day value) { SetDay(value); return *this;}
50
52
55 inline const Time& GetStartTime() const { return m_startTime; }
56 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
57 template<typename StartTimeT = Time>
58 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
59 template<typename StartTimeT = Time>
60 MonthlySchedule& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
62 private:
63
64 Day m_day{Day::NOT_SET};
65 bool m_dayHasBeenSet = false;
66
67 Time m_startTime;
68 bool m_startTimeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Inspector2
73} // namespace Aws
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
MonthlySchedule & WithStartTime(StartTimeT &&value)
AWS_INSPECTOR2_API MonthlySchedule()=default
MonthlySchedule & WithDay(Day value)
AWS_INSPECTOR2_API MonthlySchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API MonthlySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue