AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMaintenance.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 UpdateMaintenance();
36 AWS_MEDIACONNECT_API UpdateMaintenance(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API UpdateMaintenance& 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 UpdateMaintenance& WithMaintenanceDay(const MaintenanceDay& value) { SetMaintenanceDay(value); return *this;}
51 inline UpdateMaintenance& WithMaintenanceDay(MaintenanceDay&& value) { SetMaintenanceDay(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetMaintenanceScheduledDate() const{ return m_maintenanceScheduledDate; }
60 inline bool MaintenanceScheduledDateHasBeenSet() const { return m_maintenanceScheduledDateHasBeenSet; }
61 inline void SetMaintenanceScheduledDate(const Aws::String& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = value; }
62 inline void SetMaintenanceScheduledDate(Aws::String&& value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate = std::move(value); }
63 inline void SetMaintenanceScheduledDate(const char* value) { m_maintenanceScheduledDateHasBeenSet = true; m_maintenanceScheduledDate.assign(value); }
66 inline UpdateMaintenance& WithMaintenanceScheduledDate(const char* value) { SetMaintenanceScheduledDate(value); return *this;}
68
70
74 inline const Aws::String& GetMaintenanceStartHour() const{ return m_maintenanceStartHour; }
75 inline bool MaintenanceStartHourHasBeenSet() const { return m_maintenanceStartHourHasBeenSet; }
76 inline void SetMaintenanceStartHour(const Aws::String& value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour = value; }
77 inline void SetMaintenanceStartHour(Aws::String&& value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour = std::move(value); }
78 inline void SetMaintenanceStartHour(const char* value) { m_maintenanceStartHourHasBeenSet = true; m_maintenanceStartHour.assign(value); }
80 inline UpdateMaintenance& WithMaintenanceStartHour(Aws::String&& value) { SetMaintenanceStartHour(std::move(value)); return *this;}
81 inline UpdateMaintenance& WithMaintenanceStartHour(const char* value) { SetMaintenanceStartHour(value); return *this;}
83 private:
84
85 MaintenanceDay m_maintenanceDay;
86 bool m_maintenanceDayHasBeenSet = false;
87
88 Aws::String m_maintenanceScheduledDate;
89 bool m_maintenanceScheduledDateHasBeenSet = false;
90
91 Aws::String m_maintenanceStartHour;
92 bool m_maintenanceStartHourHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaConnect
97} // namespace Aws
void SetMaintenanceScheduledDate(const Aws::String &value)
UpdateMaintenance & WithMaintenanceScheduledDate(const Aws::String &value)
UpdateMaintenance & WithMaintenanceStartHour(const Aws::String &value)
const Aws::String & GetMaintenanceStartHour() const
UpdateMaintenance & WithMaintenanceScheduledDate(Aws::String &&value)
void SetMaintenanceScheduledDate(Aws::String &&value)
void SetMaintenanceStartHour(Aws::String &&value)
const Aws::String & GetMaintenanceScheduledDate() const
UpdateMaintenance & WithMaintenanceDay(const MaintenanceDay &value)
void SetMaintenanceDay(const MaintenanceDay &value)
AWS_MEDIACONNECT_API UpdateMaintenance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API UpdateMaintenance(Aws::Utils::Json::JsonView jsonValue)
void SetMaintenanceStartHour(const Aws::String &value)
const MaintenanceDay & GetMaintenanceDay() const
UpdateMaintenance & WithMaintenanceScheduledDate(const char *value)
UpdateMaintenance & WithMaintenanceDay(MaintenanceDay &&value)
void SetMaintenanceDay(MaintenanceDay &&value)
UpdateMaintenance & WithMaintenanceStartHour(const char *value)
UpdateMaintenance & WithMaintenanceStartHour(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue