7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template<
typename WindowIdT = Aws::String>
44 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
45 template<
typename WindowIdT = Aws::String>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
83 template<
typename StartDateT = Aws::String>
84 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
85 template<
typename StartDateT = Aws::String>
97 template<
typename EndDateT = Aws::String>
98 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
99 template<
typename EndDateT = Aws::String>
110 template<
typename ScheduleT = Aws::String>
111 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
112 template<
typename ScheduleT = Aws::String>
126 template<
typename ScheduleTimezoneT = Aws::String>
127 void SetScheduleTimezone(ScheduleTimezoneT&& value) { m_scheduleTimezoneHasBeenSet =
true; m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value); }
128 template<
typename ScheduleTimezoneT = Aws::String>
143 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
153 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
164 inline void SetCutoff(
int value) { m_cutoffHasBeenSet =
true; m_cutoff = value; }
185 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
197 inline void SetReplace(
bool value) { m_replaceHasBeenSet =
true; m_replace = value; }
203 bool m_windowIdHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
212 bool m_startDateHasBeenSet =
false;
215 bool m_endDateHasBeenSet =
false;
218 bool m_scheduleHasBeenSet =
false;
221 bool m_scheduleTimezoneHasBeenSet =
false;
223 int m_scheduleOffset{0};
224 bool m_scheduleOffsetHasBeenSet =
false;
227 bool m_durationHasBeenSet =
false;
230 bool m_cutoffHasBeenSet =
false;
232 bool m_allowUnassociatedTargets{
false};
233 bool m_allowUnassociatedTargetsHasBeenSet =
false;
235 bool m_enabled{
false};
236 bool m_enabledHasBeenSet =
false;
238 bool m_replace{
false};
239 bool m_replaceHasBeenSet =
false;
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
void SetDuration(int value)
const Aws::String & GetEndDate() const
bool ReplaceHasBeenSet() const
bool DurationHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool ScheduleTimezoneHasBeenSet() const
bool StartDateHasBeenSet() const
UpdateMaintenanceWindowRequest & WithEndDate(EndDateT &&value)
const Aws::String & GetWindowId() const
UpdateMaintenanceWindowRequest & WithStartDate(StartDateT &&value)
const Aws::String & GetStartDate() const
void SetSchedule(ScheduleT &&value)
void SetScheduleOffset(int value)
UpdateMaintenanceWindowRequest & WithWindowId(WindowIdT &&value)
UpdateMaintenanceWindowRequest & WithScheduleOffset(int value)
UpdateMaintenanceWindowRequest & WithDescription(DescriptionT &&value)
UpdateMaintenanceWindowRequest & WithEnabled(bool value)
bool AllowUnassociatedTargetsHasBeenSet() const
void SetName(NameT &&value)
bool WindowIdHasBeenSet() const
bool EndDateHasBeenSet() const
void SetReplace(bool value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ScheduleOffsetHasBeenSet() const
void SetScheduleTimezone(ScheduleTimezoneT &&value)
UpdateMaintenanceWindowRequest & WithName(NameT &&value)
void SetCutoff(int value)
AWS_SSM_API UpdateMaintenanceWindowRequest()=default
UpdateMaintenanceWindowRequest & WithSchedule(ScheduleT &&value)
UpdateMaintenanceWindowRequest & WithAllowUnassociatedTargets(bool value)
UpdateMaintenanceWindowRequest & WithDuration(int value)
void SetEndDate(EndDateT &&value)
const Aws::String & GetScheduleTimezone() const
AWS_SSM_API Aws::String SerializePayload() const override
UpdateMaintenanceWindowRequest & WithCutoff(int value)
void SetEnabled(bool value)
void SetWindowId(WindowIdT &&value)
const Aws::String & GetDescription() const
bool ScheduleHasBeenSet() const
void SetAllowUnassociatedTargets(bool value)
int GetScheduleOffset() const
bool NameHasBeenSet() const
UpdateMaintenanceWindowRequest & WithReplace(bool value)
bool CutoffHasBeenSet() const
bool GetAllowUnassociatedTargets() const
const Aws::String & GetSchedule() const
void SetStartDate(StartDateT &&value)
UpdateMaintenanceWindowRequest & WithScheduleTimezone(ScheduleTimezoneT &&value)
bool EnabledHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String