7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
9#include <aws/workspaces-thin-client/model/ApplyTimeOf.h>
10#include <aws/workspaces-thin-client/model/DayOfWeek.h>
11#include <aws/workspaces-thin-client/model/MaintenanceWindowType.h>
22namespace WorkSpacesThinClient {
45 m_typeHasBeenSet =
true;
62 m_startTimeHourHasBeenSet =
true;
63 m_startTimeHour = value;
79 m_startTimeMinuteHasBeenSet =
true;
80 m_startTimeMinute = value;
96 m_endTimeHourHasBeenSet =
true;
97 m_endTimeHour = value;
113 m_endTimeMinuteHasBeenSet =
true;
114 m_endTimeMinute = value;
128 template <
typename DaysOfTheWeekT = Aws::Vector<DayOfWeek>>
130 m_daysOfTheWeekHasBeenSet =
true;
131 m_daysOfTheWeek = std::forward<DaysOfTheWeekT>(value);
133 template <
typename DaysOfTheWeekT = Aws::Vector<DayOfWeek>>
139 m_daysOfTheWeekHasBeenSet =
true;
140 m_daysOfTheWeek.push_back(value);
153 m_applyTimeOfHasBeenSet =
true;
154 m_applyTimeOf = value;
164 int m_startTimeHour{0};
166 int m_startTimeMinute{0};
168 int m_endTimeHour{0};
170 int m_endTimeMinute{0};
175 bool m_typeHasBeenSet =
false;
176 bool m_startTimeHourHasBeenSet =
false;
177 bool m_startTimeMinuteHasBeenSet =
false;
178 bool m_endTimeHourHasBeenSet =
false;
179 bool m_endTimeMinuteHasBeenSet =
false;
180 bool m_daysOfTheWeekHasBeenSet =
false;
181 bool m_applyTimeOfHasBeenSet =
false;
MaintenanceWindow & AddDaysOfTheWeek(DayOfWeek value)
int GetEndTimeMinute() const
bool StartTimeMinuteHasBeenSet() const
MaintenanceWindow & WithDaysOfTheWeek(DaysOfTheWeekT &&value)
AWS_WORKSPACESTHINCLIENT_API MaintenanceWindow(Aws::Utils::Json::JsonView jsonValue)
void SetEndTimeMinute(int value)
ApplyTimeOf GetApplyTimeOf() const
MaintenanceWindow & WithType(MaintenanceWindowType value)
AWS_WORKSPACESTHINCLIENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool EndTimeMinuteHasBeenSet() const
void SetDaysOfTheWeek(DaysOfTheWeekT &&value)
MaintenanceWindow & WithEndTimeHour(int value)
void SetType(MaintenanceWindowType value)
AWS_WORKSPACESTHINCLIENT_API MaintenanceWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ApplyTimeOfHasBeenSet() const
MaintenanceWindow & WithStartTimeHour(int value)
void SetStartTimeHour(int value)
MaintenanceWindow & WithApplyTimeOf(ApplyTimeOf value)
MaintenanceWindow & WithEndTimeMinute(int value)
MaintenanceWindow & WithStartTimeMinute(int value)
int GetStartTimeMinute() const
int GetEndTimeHour() const
bool StartTimeHourHasBeenSet() const
void SetStartTimeMinute(int value)
bool DaysOfTheWeekHasBeenSet() const
const Aws::Vector< DayOfWeek > & GetDaysOfTheWeek() const
void SetApplyTimeOf(ApplyTimeOf value)
void SetEndTimeHour(int value)
bool TypeHasBeenSet() const
AWS_WORKSPACESTHINCLIENT_API MaintenanceWindow()=default
MaintenanceWindowType GetType() const
bool EndTimeHourHasBeenSet() const
int GetStartTimeHour() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue