AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DailySchedule.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Time.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
28 public:
29 AWS_INSPECTOR2_API DailySchedule() = default;
30 AWS_INSPECTOR2_API DailySchedule(Aws::Utils::Json::JsonView jsonValue);
31 AWS_INSPECTOR2_API DailySchedule& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Time& GetStartTime() const { return m_startTime; }
39 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
40 template <typename StartTimeT = Time>
41 void SetStartTime(StartTimeT&& value) {
42 m_startTimeHasBeenSet = true;
43 m_startTime = std::forward<StartTimeT>(value);
44 }
45 template <typename StartTimeT = Time>
46 DailySchedule& WithStartTime(StartTimeT&& value) {
47 SetStartTime(std::forward<StartTimeT>(value));
48 return *this;
49 }
51 private:
52 Time m_startTime;
53 bool m_startTimeHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Inspector2
58} // namespace Aws
AWS_INSPECTOR2_API DailySchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API DailySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
DailySchedule & WithStartTime(StartTimeT &&value)
AWS_INSPECTOR2_API DailySchedule()=default
void SetStartTime(StartTimeT &&value)
Aws::Utils::Json::JsonValue JsonValue