7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename WindowIdT = Aws::String>
42 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
43 template<
typename WindowIdT = Aws::String>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
76 template<
typename StartDateT = Aws::String>
77 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
78 template<
typename StartDateT = Aws::String>
89 template<
typename EndDateT = Aws::String>
90 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
91 template<
typename EndDateT = Aws::String>
101 template<
typename ScheduleT = Aws::String>
102 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
103 template<
typename ScheduleT = Aws::String>
116 template<
typename ScheduleTimezoneT = Aws::String>
117 void SetScheduleTimezone(ScheduleTimezoneT&& value) { m_scheduleTimezoneHasBeenSet =
true; m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value); }
118 template<
typename ScheduleTimezoneT = Aws::String>
128 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
138 template<
typename NextExecutionTimeT = Aws::String>
139 void SetNextExecutionTime(NextExecutionTimeT&& value) { m_nextExecutionTimeHasBeenSet =
true; m_nextExecutionTime = std::forward<NextExecutionTimeT>(value); }
140 template<
typename NextExecutionTimeT = Aws::String>
149 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
159 inline void SetCutoff(
int value) { m_cutoffHasBeenSet =
true; m_cutoff = value; }
178 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
187 template<
typename CreatedDateT = Aws::Utils::DateTime>
188 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
189 template<
typename CreatedDateT = Aws::Utils::DateTime>
198 template<
typename ModifiedDateT = Aws::Utils::DateTime>
199 void SetModifiedDate(ModifiedDateT&& value) { m_modifiedDateHasBeenSet =
true; m_modifiedDate = std::forward<ModifiedDateT>(value); }
200 template<
typename ModifiedDateT = Aws::Utils::DateTime>
207 template<
typename RequestIdT = Aws::String>
208 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
209 template<
typename RequestIdT = Aws::String>
215 bool m_windowIdHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
224 bool m_startDateHasBeenSet =
false;
227 bool m_endDateHasBeenSet =
false;
230 bool m_scheduleHasBeenSet =
false;
233 bool m_scheduleTimezoneHasBeenSet =
false;
235 int m_scheduleOffset{0};
236 bool m_scheduleOffsetHasBeenSet =
false;
239 bool m_nextExecutionTimeHasBeenSet =
false;
242 bool m_durationHasBeenSet =
false;
245 bool m_cutoffHasBeenSet =
false;
247 bool m_allowUnassociatedTargets{
false};
248 bool m_allowUnassociatedTargetsHasBeenSet =
false;
250 bool m_enabled{
false};
251 bool m_enabledHasBeenSet =
false;
254 bool m_createdDateHasBeenSet =
false;
257 bool m_modifiedDateHasBeenSet =
false;
260 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