7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSMRequest.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/Tag.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
83 template <
typename StartDateT = Aws::String>
85 m_startDateHasBeenSet =
true;
86 m_startDate = std::forward<StartDateT>(value);
88 template <
typename StartDateT = Aws::String>
103 template <
typename EndDateT = Aws::String>
105 m_endDateHasBeenSet =
true;
106 m_endDate = std::forward<EndDateT>(value);
108 template <
typename EndDateT = Aws::String>
122 template <
typename ScheduleT = Aws::String>
124 m_scheduleHasBeenSet =
true;
125 m_schedule = std::forward<ScheduleT>(value);
127 template <
typename ScheduleT = Aws::String>
144 template <
typename ScheduleTimezoneT = Aws::String>
146 m_scheduleTimezoneHasBeenSet =
true;
147 m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value);
149 template <
typename ScheduleTimezoneT = Aws::String>
168 m_scheduleOffsetHasBeenSet =
true;
169 m_scheduleOffset = value;
184 m_durationHasBeenSet =
true;
201 m_cutoffHasBeenSet =
true;
222 m_allowUnassociatedTargetsHasBeenSet =
true;
223 m_allowUnassociatedTargets = value;
237 template <
typename ClientTokenT = Aws::String>
239 m_clientTokenHasBeenSet =
true;
240 m_clientToken = std::forward<ClientTokenT>(value);
242 template <
typename ClientTokenT = Aws::String>
264 template <
typename TagsT = Aws::Vector<Tag>>
266 m_tagsHasBeenSet =
true;
267 m_tags = std::forward<TagsT>(value);
269 template <
typename TagsT = Aws::Vector<Tag>>
271 SetTags(std::forward<TagsT>(value));
274 template <
typename TagsT = Tag>
276 m_tagsHasBeenSet =
true;
277 m_tags.emplace_back(std::forward<TagsT>(value));
294 int m_scheduleOffset{0};
300 bool m_allowUnassociatedTargets{
false};
305 bool m_nameHasBeenSet =
false;
306 bool m_descriptionHasBeenSet =
false;
307 bool m_startDateHasBeenSet =
false;
308 bool m_endDateHasBeenSet =
false;
309 bool m_scheduleHasBeenSet =
false;
310 bool m_scheduleTimezoneHasBeenSet =
false;
311 bool m_scheduleOffsetHasBeenSet =
false;
312 bool m_durationHasBeenSet =
false;
313 bool m_cutoffHasBeenSet =
false;
314 bool m_allowUnassociatedTargetsHasBeenSet =
false;
315 bool m_clientTokenHasBeenSet =
true;
316 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)
static Aws::Utils::UUID PseudoRandomUUID()
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