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>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
81 inline void SetStartDate(
const char* value) { m_startDateHasBeenSet =
true; m_startDate.assign(value); }
97 inline void SetEndDate(
const char* value) { m_endDateHasBeenSet =
true; m_endDate.assign(value); }
112 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
130 inline void SetScheduleTimezone(
const char* value) { m_scheduleTimezoneHasBeenSet =
true; m_scheduleTimezone.assign(value); }
147 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
157 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
168 inline void SetCutoff(
int value) { m_cutoffHasBeenSet =
true; m_cutoff = value; }
195 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
226 bool m_nameHasBeenSet =
false;
229 bool m_descriptionHasBeenSet =
false;
232 bool m_startDateHasBeenSet =
false;
235 bool m_endDateHasBeenSet =
false;
238 bool m_scheduleHasBeenSet =
false;
241 bool m_scheduleTimezoneHasBeenSet =
false;
243 int m_scheduleOffset;
244 bool m_scheduleOffsetHasBeenSet =
false;
247 bool m_durationHasBeenSet =
false;
250 bool m_cutoffHasBeenSet =
false;
252 bool m_allowUnassociatedTargets;
253 bool m_allowUnassociatedTargetsHasBeenSet =
false;
256 bool m_clientTokenHasBeenSet =
false;
259 bool m_tagsHasBeenSet =
false;
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
bool GetAllowUnassociatedTargets() const
CreateMaintenanceWindowRequest & AddTags(const Tag &value)
CreateMaintenanceWindowRequest & AddTags(Tag &&value)
const Aws::String & GetName() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(const char *value)
CreateMaintenanceWindowRequest & WithClientToken(Aws::String &&value)
AWS_SSM_API CreateMaintenanceWindowRequest()
CreateMaintenanceWindowRequest & WithTags(const Aws::Vector< Tag > &value)
bool ClientTokenHasBeenSet() const
CreateMaintenanceWindowRequest & WithScheduleTimezone(Aws::String &&value)
CreateMaintenanceWindowRequest & WithSchedule(const Aws::String &value)
CreateMaintenanceWindowRequest & WithDescription(const char *value)
CreateMaintenanceWindowRequest & WithEndDate(Aws::String &&value)
bool ScheduleOffsetHasBeenSet() const
const Aws::String & GetScheduleTimezone() const
void SetSchedule(Aws::String &&value)
bool ScheduleHasBeenSet() const
bool CutoffHasBeenSet() const
void SetStartDate(const Aws::String &value)
int GetScheduleOffset() const
CreateMaintenanceWindowRequest & WithStartDate(Aws::String &&value)
void SetEndDate(const Aws::String &value)
CreateMaintenanceWindowRequest & WithSchedule(Aws::String &&value)
bool DurationHasBeenSet() const
void SetAllowUnassociatedTargets(bool value)
CreateMaintenanceWindowRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetSchedule() const
CreateMaintenanceWindowRequest & WithName(const char *value)
void SetStartDate(const char *value)
void SetCutoff(int value)
void SetDuration(int value)
bool ScheduleTimezoneHasBeenSet() const
CreateMaintenanceWindowRequest & WithScheduleTimezone(const Aws::String &value)
void SetName(Aws::String &&value)
void SetScheduleTimezone(const Aws::String &value)
CreateMaintenanceWindowRequest & WithName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateMaintenanceWindowRequest & WithDescription(Aws::String &&value)
CreateMaintenanceWindowRequest & WithDuration(int value)
void SetClientToken(const Aws::String &value)
CreateMaintenanceWindowRequest & WithEndDate(const char *value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
CreateMaintenanceWindowRequest & WithSchedule(const char *value)
void SetScheduleTimezone(const char *value)
void SetScheduleOffset(int value)
void SetName(const Aws::String &value)
CreateMaintenanceWindowRequest & WithScheduleOffset(int value)
void SetStartDate(Aws::String &&value)
bool AllowUnassociatedTargetsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateMaintenanceWindowRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetEndDate() const
void SetEndDate(Aws::String &&value)
void SetScheduleTimezone(Aws::String &&value)
bool NameHasBeenSet() const
void SetSchedule(const char *value)
CreateMaintenanceWindowRequest & WithScheduleTimezone(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetStartDate() const
CreateMaintenanceWindowRequest & WithEndDate(const Aws::String &value)
void SetDescription(const char *value)
void SetSchedule(const Aws::String &value)
bool TagsHasBeenSet() const
CreateMaintenanceWindowRequest & WithDescription(const Aws::String &value)
CreateMaintenanceWindowRequest & WithClientToken(const char *value)
bool StartDateHasBeenSet() const
CreateMaintenanceWindowRequest & WithAllowUnassociatedTargets(bool value)
void SetTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateMaintenanceWindowRequest & WithStartDate(const Aws::String &value)
void SetClientToken(const char *value)
CreateMaintenanceWindowRequest & WithStartDate(const char *value)
void SetEndDate(const char *value)
CreateMaintenanceWindowRequest & WithCutoff(int value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
CreateMaintenanceWindowRequest & WithName(Aws::String &&value)
bool EndDateHasBeenSet() const
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