7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename WindowIdT = Aws::String>
37 m_windowIdHasBeenSet =
true;
38 m_windowId = std::forward<WindowIdT>(value);
40 template <
typename WindowIdT = Aws::String>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
69 template <
typename DescriptionT = Aws::String>
71 m_descriptionHasBeenSet =
true;
72 m_description = std::forward<DescriptionT>(value);
74 template <
typename DescriptionT = Aws::String>
88 template <
typename StartDateT = Aws::String>
90 m_startDateHasBeenSet =
true;
91 m_startDate = std::forward<StartDateT>(value);
93 template <
typename StartDateT = Aws::String>
107 template <
typename EndDateT = Aws::String>
109 m_endDateHasBeenSet =
true;
110 m_endDate = std::forward<EndDateT>(value);
112 template <
typename EndDateT = Aws::String>
125 template <
typename ScheduleT = Aws::String>
127 m_scheduleHasBeenSet =
true;
128 m_schedule = std::forward<ScheduleT>(value);
130 template <
typename ScheduleT = Aws::String>
146 template <
typename ScheduleTimezoneT = Aws::String>
148 m_scheduleTimezoneHasBeenSet =
true;
149 m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value);
151 template <
typename ScheduleTimezoneT = Aws::String>
165 m_scheduleOffsetHasBeenSet =
true;
166 m_scheduleOffset = value;
180 template <
typename NextExecutionTimeT = Aws::String>
182 m_nextExecutionTimeHasBeenSet =
true;
183 m_nextExecutionTime = std::forward<NextExecutionTimeT>(value);
185 template <
typename NextExecutionTimeT = Aws::String>
198 m_durationHasBeenSet =
true;
214 m_cutoffHasBeenSet =
true;
230 m_allowUnassociatedTargetsHasBeenSet =
true;
231 m_allowUnassociatedTargets = value;
245 m_enabledHasBeenSet =
true;
259 template <
typename CreatedDateT = Aws::Utils::DateTime>
261 m_createdDateHasBeenSet =
true;
262 m_createdDate = std::forward<CreatedDateT>(value);
264 template <
typename CreatedDateT = Aws::Utils::DateTime>
276 template <
typename ModifiedDateT = Aws::Utils::DateTime>
278 m_modifiedDateHasBeenSet =
true;
279 m_modifiedDate = std::forward<ModifiedDateT>(value);
281 template <
typename ModifiedDateT = Aws::Utils::DateTime>
291 template <
typename RequestIdT = Aws::String>
293 m_requestIdHasBeenSet =
true;
294 m_requestId = std::forward<RequestIdT>(value);
296 template <
typename RequestIdT = Aws::String>
317 int m_scheduleOffset{0};
325 bool m_allowUnassociatedTargets{
false};
327 bool m_enabled{
false};
334 bool m_windowIdHasBeenSet =
false;
335 bool m_nameHasBeenSet =
false;
336 bool m_descriptionHasBeenSet =
false;
337 bool m_startDateHasBeenSet =
false;
338 bool m_endDateHasBeenSet =
false;
339 bool m_scheduleHasBeenSet =
false;
340 bool m_scheduleTimezoneHasBeenSet =
false;
341 bool m_scheduleOffsetHasBeenSet =
false;
342 bool m_nextExecutionTimeHasBeenSet =
false;
343 bool m_durationHasBeenSet =
false;
344 bool m_cutoffHasBeenSet =
false;
345 bool m_allowUnassociatedTargetsHasBeenSet =
false;
346 bool m_enabledHasBeenSet =
false;
347 bool m_createdDateHasBeenSet =
false;
348 bool m_modifiedDateHasBeenSet =
false;
349 bool m_requestIdHasBeenSet =
false;
GetMaintenanceWindowResult & WithEnabled(bool value)
GetMaintenanceWindowResult & WithCreatedDate(CreatedDateT &&value)
void SetStartDate(StartDateT &&value)
bool GetAllowUnassociatedTargets() const
const Aws::String & GetStartDate() const
const Aws::String & GetNextExecutionTime() const
GetMaintenanceWindowResult & WithEndDate(EndDateT &&value)
const Aws::String & GetWindowId() const
AWS_SSM_API GetMaintenanceWindowResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetScheduleTimezone() const
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetModifiedDate() const
GetMaintenanceWindowResult & WithDuration(int value)
GetMaintenanceWindowResult & WithModifiedDate(ModifiedDateT &&value)
const Aws::String & GetEndDate() const
void SetEndDate(EndDateT &&value)
GetMaintenanceWindowResult & WithWindowId(WindowIdT &&value)
void SetModifiedDate(ModifiedDateT &&value)
GetMaintenanceWindowResult & WithAllowUnassociatedTargets(bool value)
GetMaintenanceWindowResult & WithNextExecutionTime(NextExecutionTimeT &&value)
int GetScheduleOffset() const
void SetEnabled(bool value)
void SetScheduleOffset(int value)
GetMaintenanceWindowResult & WithName(NameT &&value)
GetMaintenanceWindowResult & WithScheduleOffset(int value)
GetMaintenanceWindowResult & WithDescription(DescriptionT &&value)
const Aws::String & GetSchedule() const
void SetWindowId(WindowIdT &&value)
GetMaintenanceWindowResult & WithStartDate(StartDateT &&value)
void SetAllowUnassociatedTargets(bool value)
void SetDescription(DescriptionT &&value)
void SetNextExecutionTime(NextExecutionTimeT &&value)
AWS_SSM_API GetMaintenanceWindowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowResult & WithScheduleTimezone(ScheduleTimezoneT &&value)
AWS_SSM_API GetMaintenanceWindowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedDate(CreatedDateT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetName() const
void SetCutoff(int value)
GetMaintenanceWindowResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetMaintenanceWindowResult & WithSchedule(ScheduleT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetSchedule(ScheduleT &&value)
void SetDuration(int value)
void SetScheduleTimezone(ScheduleTimezoneT &&value)
GetMaintenanceWindowResult & WithCutoff(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue