AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceCreateSettings.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
34 {
35 public:
36 AWS_MEDIALIVE_API MaintenanceCreateSettings();
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const MaintenanceDay& GetMaintenanceDay() const{ return m_maintenanceDay; }
48 inline bool MaintenanceDayHasBeenSet() const { return m_maintenanceDayHasBeenSet; }
49 inline void SetMaintenanceDay(const MaintenanceDay& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = value; }
50 inline void SetMaintenanceDay(MaintenanceDay&& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = std::move(value); }
52 inline MaintenanceCreateSettings& WithMaintenanceDay(MaintenanceDay&& value) { SetMaintenanceDay(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetMaintenanceStartTime() const{ return m_maintenanceStartTime; }
61 inline bool MaintenanceStartTimeHasBeenSet() const { return m_maintenanceStartTimeHasBeenSet; }
62 inline void SetMaintenanceStartTime(const Aws::String& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = value; }
63 inline void SetMaintenanceStartTime(Aws::String&& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = std::move(value); }
64 inline void SetMaintenanceStartTime(const char* value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime.assign(value); }
67 inline MaintenanceCreateSettings& WithMaintenanceStartTime(const char* value) { SetMaintenanceStartTime(value); return *this;}
69 private:
70
71 MaintenanceDay m_maintenanceDay;
72 bool m_maintenanceDayHasBeenSet = false;
73
74 Aws::String m_maintenanceStartTime;
75 bool m_maintenanceStartTimeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MediaLive
80} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceCreateSettings & WithMaintenanceDay(const MaintenanceDay &value)
MaintenanceCreateSettings & WithMaintenanceStartTime(const char *value)
MaintenanceCreateSettings & WithMaintenanceStartTime(Aws::String &&value)
MaintenanceCreateSettings & WithMaintenanceDay(MaintenanceDay &&value)
AWS_MEDIALIVE_API MaintenanceCreateSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceCreateSettings & WithMaintenanceStartTime(const Aws::String &value)
AWS_MEDIALIVE_API MaintenanceCreateSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue