AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Maintenance.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/MaintenanceDay.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MediaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONNECT_API Maintenance();
36 AWS_MEDIACONNECT_API Maintenance(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API Maintenance& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const MaintenanceDay& GetMaintenanceDay() const{ return m_maintenanceDay; }
47 inline bool MaintenanceDayHasBeenSet() const { return m_maintenanceDayHasBeenSet; }
48 inline void SetMaintenanceDay(const MaintenanceDay& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = value; }
49 inline void SetMaintenanceDay(MaintenanceDay&& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = std::move(value); }
50 inline Maintenance& WithMaintenanceDay(const MaintenanceDay& value) { SetMaintenanceDay(value); return *this;}
51 inline Maintenance& WithMaintenanceDay(MaintenanceDay&& value) { SetMaintenanceDay(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetMaintenanceDeadline() const{ return m_maintenanceDeadline; }
60 inline bool MaintenanceDeadlineHasBeenSet() const { return m_maintenanceDeadlineHasBeenSet; }
61 inline void SetMaintenanceDeadline(const Aws::String& value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline = value; }
62 inline void SetMaintenanceDeadline(Aws::String&& value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline = std::move(value); }
63 inline void SetMaintenanceDeadline(const char* value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline.assign(value); }
64 inline Maintenance& WithMaintenanceDeadline(const Aws::String& value) { SetMaintenanceDeadline(value); return *this;}
65 inline Maintenance& WithMaintenanceDeadline(Aws::String&& value) { SetMaintenanceDeadline(std::move(value)); return *this;}
66 inline Maintenance& WithMaintenanceDeadline(const char* value) { SetMaintenanceDeadline(value); return *this;}
68
70
74 inline const Aws::String& GetMaintenanceScheduledDate() const{ return m_maintenanceScheduledDate; }
75 inline bool MaintenanceScheduledDateHasBeenSet() const { return m_maintenanceScheduledDateHasBeenSet; }
76 inline void SetMaintenanceScheduledDate(const Aws::String& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = value; }
77 inline void SetMaintenanceScheduledDate(Aws::String&& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = std::move(value); }
78 inline void SetMaintenanceScheduledDate(const char* value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate.assign(value); }
80 inline Maintenance& WithMaintenanceScheduledDate(Aws::String&& value) { SetMaintenanceScheduledDate(std::move(value)); return *this;}
81 inline Maintenance& WithMaintenanceScheduledDate(const char* value) { SetMaintenanceScheduledDate(value); return *this;}
83
85
89 inline const Aws::String& GetMaintenanceStartHour() const{ return m_maintenanceStartHour; }
90 inline bool MaintenanceStartHourHasBeenSet() const { return m_maintenanceStartHourHasBeenSet; }
91 inline void SetMaintenanceStartHour(const Aws::String& value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour = value; }
92 inline void SetMaintenanceStartHour(Aws::String&& value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour = std::move(value); }
93 inline void SetMaintenanceStartHour(const char* value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour.assign(value); }
94 inline Maintenance& WithMaintenanceStartHour(const Aws::String& value) { SetMaintenanceStartHour(value); return *this;}
95 inline Maintenance& WithMaintenanceStartHour(Aws::String&& value) { SetMaintenanceStartHour(std::move(value)); return *this;}
96 inline Maintenance& WithMaintenanceStartHour(const char* value) { SetMaintenanceStartHour(value); return *this;}
98 private:
99
100 MaintenanceDay m_maintenanceDay;
101 bool m_maintenanceDayHasBeenSet = false;
102
103 Aws::String m_maintenanceDeadline;
104 bool m_maintenanceDeadlineHasBeenSet = false;
105
106 Aws::String m_maintenanceScheduledDate;
107 bool m_maintenanceScheduledDateHasBeenSet = false;
108
109 Aws::String m_maintenanceStartHour;
110 bool m_maintenanceStartHourHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace MediaConnect
115} // namespace Aws
Maintenance & WithMaintenanceDay(const MaintenanceDay &value)
Definition Maintenance.h:50
void SetMaintenanceScheduledDate(const Aws::String &value)
Definition Maintenance.h:76
void SetMaintenanceScheduledDate(Aws::String &&value)
Definition Maintenance.h:77
void SetMaintenanceDeadline(Aws::String &&value)
Definition Maintenance.h:62
Maintenance & WithMaintenanceDeadline(const char *value)
Definition Maintenance.h:66
void SetMaintenanceStartHour(const Aws::String &value)
Definition Maintenance.h:91
void SetMaintenanceStartHour(const char *value)
Definition Maintenance.h:93
Maintenance & WithMaintenanceStartHour(const Aws::String &value)
Definition Maintenance.h:94
void SetMaintenanceScheduledDate(const char *value)
Definition Maintenance.h:78
void SetMaintenanceStartHour(Aws::String &&value)
Definition Maintenance.h:92
void SetMaintenanceDay(const MaintenanceDay &value)
Definition Maintenance.h:48
Maintenance & WithMaintenanceDeadline(const Aws::String &value)
Definition Maintenance.h:64
AWS_MEDIACONNECT_API Maintenance(Aws::Utils::Json::JsonView jsonValue)
Maintenance & WithMaintenanceScheduledDate(const char *value)
Definition Maintenance.h:81
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Maintenance & WithMaintenanceDay(MaintenanceDay &&value)
Definition Maintenance.h:51
Maintenance & WithMaintenanceScheduledDate(Aws::String &&value)
Definition Maintenance.h:80
const Aws::String & GetMaintenanceScheduledDate() const
Definition Maintenance.h:74
void SetMaintenanceDeadline(const char *value)
Definition Maintenance.h:63
const Aws::String & GetMaintenanceDeadline() const
Definition Maintenance.h:59
Maintenance & WithMaintenanceStartHour(const char *value)
Definition Maintenance.h:96
AWS_MEDIACONNECT_API Maintenance()
Maintenance & WithMaintenanceScheduledDate(const Aws::String &value)
Definition Maintenance.h:79
Maintenance & WithMaintenanceDeadline(Aws::String &&value)
Definition Maintenance.h:65
Maintenance & WithMaintenanceStartHour(Aws::String &&value)
Definition Maintenance.h:95
AWS_MEDIACONNECT_API Maintenance & operator=(Aws::Utils::Json::JsonView jsonValue)
const MaintenanceDay & GetMaintenanceDay() const
Definition Maintenance.h:46
const Aws::String & GetMaintenanceStartHour() const
Definition Maintenance.h:89
void SetMaintenanceDay(MaintenanceDay &&value)
Definition Maintenance.h:49
void SetMaintenanceDeadline(const Aws::String &value)
Definition Maintenance.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue