7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename WindowIdT = Aws::String>
47 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
48 template<
typename WindowIdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
82 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
92 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
103 inline void SetCutoff(
int value) { m_cutoffHasBeenSet =
true; m_cutoff = value; }
114 template<
typename ScheduleT = Aws::String>
115 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
116 template<
typename ScheduleT = Aws::String>
127 template<
typename ScheduleTimezoneT = Aws::String>
128 void SetScheduleTimezone(ScheduleTimezoneT&& value) { m_scheduleTimezoneHasBeenSet =
true; m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value); }
129 template<
typename ScheduleTimezoneT = Aws::String>
140 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
151 template<
typename EndDateT = Aws::String>
152 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
153 template<
typename EndDateT = Aws::String>
164 template<
typename StartDateT = Aws::String>
165 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
166 template<
typename StartDateT = Aws::String>
177 template<
typename NextExecutionTimeT = Aws::String>
178 void SetNextExecutionTime(NextExecutionTimeT&& value) { m_nextExecutionTimeHasBeenSet =
true; m_nextExecutionTime = std::forward<NextExecutionTimeT>(value); }
179 template<
typename NextExecutionTimeT = Aws::String>
185 bool m_windowIdHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
193 bool m_enabled{
false};
194 bool m_enabledHasBeenSet =
false;
197 bool m_durationHasBeenSet =
false;
200 bool m_cutoffHasBeenSet =
false;
203 bool m_scheduleHasBeenSet =
false;
206 bool m_scheduleTimezoneHasBeenSet =
false;
208 int m_scheduleOffset{0};
209 bool m_scheduleOffsetHasBeenSet =
false;
212 bool m_endDateHasBeenSet =
false;
215 bool m_startDateHasBeenSet =
false;
218 bool m_nextExecutionTimeHasBeenSet =
false;
void SetWindowId(WindowIdT &&value)
void SetEndDate(EndDateT &&value)
bool EndDateHasBeenSet() const
void SetCutoff(int value)
MaintenanceWindowIdentity & WithDescription(DescriptionT &&value)
bool CutoffHasBeenSet() const
const Aws::String & GetEndDate() const
void SetStartDate(StartDateT &&value)
const Aws::String & GetSchedule() const
bool EnabledHasBeenSet() const
void SetScheduleOffset(int value)
void SetDescription(DescriptionT &&value)
bool ScheduleHasBeenSet() const
MaintenanceWindowIdentity & WithScheduleOffset(int value)
const Aws::String & GetName() const
AWS_SSM_API MaintenanceWindowIdentity(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API MaintenanceWindowIdentity()=default
bool WindowIdHasBeenSet() const
MaintenanceWindowIdentity & WithEndDate(EndDateT &&value)
MaintenanceWindowIdentity & WithDuration(int value)
void SetDuration(int value)
MaintenanceWindowIdentity & WithScheduleTimezone(ScheduleTimezoneT &&value)
const Aws::String & GetNextExecutionTime() const
void SetNextExecutionTime(NextExecutionTimeT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
MaintenanceWindowIdentity & WithWindowId(WindowIdT &&value)
void SetSchedule(ScheduleT &&value)
void SetEnabled(bool value)
void SetName(NameT &&value)
const Aws::String & GetWindowId() const
MaintenanceWindowIdentity & WithEnabled(bool value)
MaintenanceWindowIdentity & WithStartDate(StartDateT &&value)
bool ScheduleTimezoneHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetScheduleTimezone() const
bool StartDateHasBeenSet() const
MaintenanceWindowIdentity & WithNextExecutionTime(NextExecutionTimeT &&value)
AWS_SSM_API MaintenanceWindowIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
MaintenanceWindowIdentity & WithCutoff(int value)
const Aws::String & GetStartDate() const
MaintenanceWindowIdentity & WithSchedule(ScheduleT &&value)
bool NextExecutionTimeHasBeenSet() const
MaintenanceWindowIdentity & WithName(NameT &&value)
bool ScheduleOffsetHasBeenSet() const
int GetScheduleOffset() const
void SetScheduleTimezone(ScheduleTimezoneT &&value)
bool DurationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue