7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/Tag.h>
13#include <aws/core/utils/UUID.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
75 template<
typename StartDateT = Aws::String>
76 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
77 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>
102 template<
typename ScheduleT = Aws::String>
103 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
104 template<
typename ScheduleT = Aws::String>
118 template<
typename ScheduleTimezoneT = Aws::String>
119 void SetScheduleTimezone(ScheduleTimezoneT&& value) { m_scheduleTimezoneHasBeenSet =
true; m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value); }
120 template<
typename ScheduleTimezoneT = Aws::String>
135 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
145 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
156 inline void SetCutoff(
int value) { m_cutoffHasBeenSet =
true; m_cutoff = value; }
181 template<
typename ClientTokenT = Aws::String>
182 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
183 template<
typename ClientTokenT = Aws::String>
202 template<
typename TagsT = Aws::Vector<Tag>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
204 template<
typename TagsT = Aws::Vector<Tag>>
206 template<
typename TagsT = Tag>
212 bool m_nameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_startDateHasBeenSet =
false;
221 bool m_endDateHasBeenSet =
false;
224 bool m_scheduleHasBeenSet =
false;
227 bool m_scheduleTimezoneHasBeenSet =
false;
229 int m_scheduleOffset{0};
230 bool m_scheduleOffsetHasBeenSet =
false;
233 bool m_durationHasBeenSet =
false;
236 bool m_cutoffHasBeenSet =
false;
238 bool m_allowUnassociatedTargets{
false};
239 bool m_allowUnassociatedTargetsHasBeenSet =
false;
242 bool m_clientTokenHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
bool GetAllowUnassociatedTargets() const
const Aws::String & GetName() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetScheduleTimezone(ScheduleTimezoneT &&value)
CreateMaintenanceWindowRequest & WithName(NameT &&value)
bool ClientTokenHasBeenSet() const
CreateMaintenanceWindowRequest & AddTags(TagsT &&value)
bool ScheduleOffsetHasBeenSet() const
const Aws::String & GetScheduleTimezone() const
bool ScheduleHasBeenSet() const
bool CutoffHasBeenSet() const
int GetScheduleOffset() const
CreateMaintenanceWindowRequest & WithDescription(DescriptionT &&value)
bool DurationHasBeenSet() const
CreateMaintenanceWindowRequest & WithSchedule(ScheduleT &&value)
void SetAllowUnassociatedTargets(bool value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetSchedule() const
void SetCutoff(int value)
void SetDuration(int value)
bool ScheduleTimezoneHasBeenSet() const
void SetStartDate(StartDateT &&value)
CreateMaintenanceWindowRequest & WithStartDate(StartDateT &&value)
void SetEndDate(EndDateT &&value)
void SetSchedule(ScheduleT &&value)
CreateMaintenanceWindowRequest & WithDuration(int value)
const Aws::String & GetDescription() const
void SetScheduleOffset(int value)
void SetTags(TagsT &&value)
CreateMaintenanceWindowRequest & WithScheduleOffset(int value)
bool AllowUnassociatedTargetsHasBeenSet() const
AWS_SSM_API CreateMaintenanceWindowRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEndDate() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetStartDate() const
CreateMaintenanceWindowRequest & WithClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
CreateMaintenanceWindowRequest & WithScheduleTimezone(ScheduleTimezoneT &&value)
bool StartDateHasBeenSet() const
CreateMaintenanceWindowRequest & WithAllowUnassociatedTargets(bool value)
CreateMaintenanceWindowRequest & WithEndDate(EndDateT &&value)
void SetClientToken(ClientTokenT &&value)
CreateMaintenanceWindowRequest & WithCutoff(int value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
bool EndDateHasBeenSet() const
CreateMaintenanceWindowRequest & WithTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector