7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/SSM_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename WindowIdT = Aws::String>
38 m_windowIdHasBeenSet =
true;
39 m_windowId = std::forward<WindowIdT>(value);
41 template <
typename WindowIdT = Aws::String>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
70 template <
typename DescriptionT = Aws::String>
72 m_descriptionHasBeenSet =
true;
73 m_description = std::forward<DescriptionT>(value);
75 template <
typename DescriptionT = Aws::String>
89 template <
typename StartDateT = Aws::String>
91 m_startDateHasBeenSet =
true;
92 m_startDate = std::forward<StartDateT>(value);
94 template <
typename StartDateT = Aws::String>
108 template <
typename EndDateT = Aws::String>
110 m_endDateHasBeenSet =
true;
111 m_endDate = std::forward<EndDateT>(value);
113 template <
typename EndDateT = Aws::String>
126 template <
typename ScheduleT = Aws::String>
128 m_scheduleHasBeenSet =
true;
129 m_schedule = std::forward<ScheduleT>(value);
131 template <
typename ScheduleT = Aws::String>
147 template <
typename ScheduleTimezoneT = Aws::String>
149 m_scheduleTimezoneHasBeenSet =
true;
150 m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value);
152 template <
typename ScheduleTimezoneT = Aws::String>
166 m_scheduleOffsetHasBeenSet =
true;
167 m_scheduleOffset = value;
181 template <
typename NextExecutionTimeT = Aws::String>
183 m_nextExecutionTimeHasBeenSet =
true;
184 m_nextExecutionTime = std::forward<NextExecutionTimeT>(value);
186 template <
typename NextExecutionTimeT = Aws::String>
199 m_durationHasBeenSet =
true;
215 m_cutoffHasBeenSet =
true;
231 m_allowUnassociatedTargetsHasBeenSet =
true;
232 m_allowUnassociatedTargets = value;
246 m_enabledHasBeenSet =
true;
260 template <
typename CreatedDateT = Aws::Utils::DateTime>
262 m_createdDateHasBeenSet =
true;
263 m_createdDate = std::forward<CreatedDateT>(value);
265 template <
typename CreatedDateT = Aws::Utils::DateTime>
277 template <
typename ModifiedDateT = Aws::Utils::DateTime>
279 m_modifiedDateHasBeenSet =
true;
280 m_modifiedDate = std::forward<ModifiedDateT>(value);
282 template <
typename ModifiedDateT = Aws::Utils::DateTime>
292 template <
typename RequestIdT = Aws::String>
294 m_requestIdHasBeenSet =
true;
295 m_requestId = std::forward<RequestIdT>(value);
297 template <
typename RequestIdT = Aws::String>
320 int m_scheduleOffset{0};
328 bool m_allowUnassociatedTargets{
false};
330 bool m_enabled{
false};
338 bool m_windowIdHasBeenSet =
false;
339 bool m_nameHasBeenSet =
false;
340 bool m_descriptionHasBeenSet =
false;
341 bool m_startDateHasBeenSet =
false;
342 bool m_endDateHasBeenSet =
false;
343 bool m_scheduleHasBeenSet =
false;
344 bool m_scheduleTimezoneHasBeenSet =
false;
345 bool m_scheduleOffsetHasBeenSet =
false;
346 bool m_nextExecutionTimeHasBeenSet =
false;
347 bool m_durationHasBeenSet =
false;
348 bool m_cutoffHasBeenSet =
false;
349 bool m_allowUnassociatedTargetsHasBeenSet =
false;
350 bool m_enabledHasBeenSet =
false;
351 bool m_createdDateHasBeenSet =
false;
352 bool m_modifiedDateHasBeenSet =
false;
353 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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