AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceStatus.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/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 MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API MaintenanceStatus();
36 AWS_MEDIALIVE_API MaintenanceStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const MaintenanceDay& GetMaintenanceDay() const{ return m_maintenanceDay; }
46 inline bool MaintenanceDayHasBeenSet() const { return m_maintenanceDayHasBeenSet; }
47 inline void SetMaintenanceDay(const MaintenanceDay& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = value; }
48 inline void SetMaintenanceDay(MaintenanceDay&& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = std::move(value); }
49 inline MaintenanceStatus& WithMaintenanceDay(const MaintenanceDay& value) { SetMaintenanceDay(value); return *this;}
50 inline MaintenanceStatus& WithMaintenanceDay(MaintenanceDay&& value) { SetMaintenanceDay(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetMaintenanceDeadline() const{ return m_maintenanceDeadline; }
58 inline bool MaintenanceDeadlineHasBeenSet() const { return m_maintenanceDeadlineHasBeenSet; }
59 inline void SetMaintenanceDeadline(const Aws::String& value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline = value; }
60 inline void SetMaintenanceDeadline(Aws::String&& value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline = std::move(value); }
61 inline void SetMaintenanceDeadline(const char* value) { m_maintenanceDeadlineHasBeenSet = true; m_maintenanceDeadline.assign(value); }
62 inline MaintenanceStatus& WithMaintenanceDeadline(const Aws::String& value) { SetMaintenanceDeadline(value); return *this;}
63 inline MaintenanceStatus& WithMaintenanceDeadline(Aws::String&& value) { SetMaintenanceDeadline(std::move(value)); return *this;}
64 inline MaintenanceStatus& WithMaintenanceDeadline(const char* value) { SetMaintenanceDeadline(value); return *this;}
66
68
71 inline const Aws::String& GetMaintenanceScheduledDate() const{ return m_maintenanceScheduledDate; }
72 inline bool MaintenanceScheduledDateHasBeenSet() const { return m_maintenanceScheduledDateHasBeenSet; }
73 inline void SetMaintenanceScheduledDate(const Aws::String& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = value; }
74 inline void SetMaintenanceScheduledDate(Aws::String&& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = std::move(value); }
75 inline void SetMaintenanceScheduledDate(const char* value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate.assign(value); }
78 inline MaintenanceStatus& WithMaintenanceScheduledDate(const char* value) { SetMaintenanceScheduledDate(value); return *this;}
80
82
85 inline const Aws::String& GetMaintenanceStartTime() const{ return m_maintenanceStartTime; }
86 inline bool MaintenanceStartTimeHasBeenSet() const { return m_maintenanceStartTimeHasBeenSet; }
87 inline void SetMaintenanceStartTime(const Aws::String& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = value; }
88 inline void SetMaintenanceStartTime(Aws::String&& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = std::move(value); }
89 inline void SetMaintenanceStartTime(const char* value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime.assign(value); }
91 inline MaintenanceStatus& WithMaintenanceStartTime(Aws::String&& value) { SetMaintenanceStartTime(std::move(value)); return *this;}
92 inline MaintenanceStatus& WithMaintenanceStartTime(const char* value) { SetMaintenanceStartTime(value); return *this;}
94 private:
95
96 MaintenanceDay m_maintenanceDay;
97 bool m_maintenanceDayHasBeenSet = false;
98
99 Aws::String m_maintenanceDeadline;
100 bool m_maintenanceDeadlineHasBeenSet = false;
101
102 Aws::String m_maintenanceScheduledDate;
103 bool m_maintenanceScheduledDateHasBeenSet = false;
104
105 Aws::String m_maintenanceStartTime;
106 bool m_maintenanceStartTimeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MediaLive
111} // namespace Aws
MaintenanceStatus & WithMaintenanceDeadline(Aws::String &&value)
const Aws::String & GetMaintenanceScheduledDate() const
void SetMaintenanceDeadline(const Aws::String &value)
void SetMaintenanceStartTime(const Aws::String &value)
void SetMaintenanceDeadline(Aws::String &&value)
void SetMaintenanceStartTime(const char *value)
MaintenanceStatus & WithMaintenanceStartTime(const Aws::String &value)
MaintenanceStatus & WithMaintenanceStartTime(const char *value)
AWS_MEDIALIVE_API MaintenanceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceStatus & WithMaintenanceDay(MaintenanceDay &&value)
const MaintenanceDay & GetMaintenanceDay() const
MaintenanceStatus & WithMaintenanceDay(const MaintenanceDay &value)
MaintenanceStatus & WithMaintenanceScheduledDate(const char *value)
const Aws::String & GetMaintenanceDeadline() const
MaintenanceStatus & WithMaintenanceDeadline(const Aws::String &value)
AWS_MEDIALIVE_API MaintenanceStatus(Aws::Utils::Json::JsonView jsonValue)
MaintenanceStatus & WithMaintenanceStartTime(Aws::String &&value)
const Aws::String & GetMaintenanceStartTime() const
void SetMaintenanceStartTime(Aws::String &&value)
void SetMaintenanceDay(const MaintenanceDay &value)
void SetMaintenanceScheduledDate(Aws::String &&value)
void SetMaintenanceScheduledDate(const Aws::String &value)
void SetMaintenanceDay(MaintenanceDay &&value)
MaintenanceStatus & WithMaintenanceScheduledDate(Aws::String &&value)
void SetMaintenanceScheduledDate(const char *value)
MaintenanceStatus & WithMaintenanceScheduledDate(const Aws::String &value)
MaintenanceStatus & WithMaintenanceDeadline(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue