AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
MaintenanceSchedule.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/WindowMaintenanceSchedule.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
28 public:
29 AWS_MEDIACONNECT_API MaintenanceSchedule() = default;
30 AWS_MEDIACONNECT_API MaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const WindowMaintenanceSchedule& GetWindow() const { return m_window; }
37 inline bool WindowHasBeenSet() const { return m_windowHasBeenSet; }
38 template <typename WindowT = WindowMaintenanceSchedule>
39 void SetWindow(WindowT&& value) {
40 m_windowHasBeenSet = true;
41 m_window = std::forward<WindowT>(value);
42 }
43 template <typename WindowT = WindowMaintenanceSchedule>
44 MaintenanceSchedule& WithWindow(WindowT&& value) {
45 SetWindow(std::forward<WindowT>(value));
46 return *this;
47 }
49 private:
51 bool m_windowHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace MediaConnect
56} // namespace Aws
AWS_MEDIACONNECT_API MaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API MaintenanceSchedule()=default
AWS_MEDIACONNECT_API MaintenanceSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceSchedule & WithWindow(WindowT &&value)
const WindowMaintenanceSchedule & GetWindow() const
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue