7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/application-autoscaling/model/ScalableDimension.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/application-autoscaling/model/ScalableTargetAction.h>
18namespace ApplicationAutoScaling
76 template<
typename ScheduleT = Aws::String>
77 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
78 template<
typename ScheduleT = Aws::String>
93 template<
typename TimezoneT = Aws::String>
94 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
95 template<
typename TimezoneT = Aws::String>
106 template<
typename ScheduledActionNameT = Aws::String>
107 void SetScheduledActionName(ScheduledActionNameT&& value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName = std::forward<ScheduledActionNameT>(value); }
108 template<
typename ScheduledActionNameT = Aws::String>
179 template<
typename ResourceIdT = Aws::String>
180 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
181 template<
typename ResourceIdT = Aws::String>
250 template<
typename StartTimeT = Aws::Utils::DateTime>
251 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
252 template<
typename StartTimeT = Aws::Utils::DateTime>
262 template<
typename EndTimeT = Aws::Utils::DateTime>
263 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
264 template<
typename EndTimeT = Aws::Utils::DateTime>
278 template<
typename ScalableTargetActionT = ScalableTargetAction>
279 void SetScalableTargetAction(ScalableTargetActionT&& value) { m_scalableTargetActionHasBeenSet =
true; m_scalableTargetAction = std::forward<ScalableTargetActionT>(value); }
280 template<
typename ScalableTargetActionT = ScalableTargetAction>
286 bool m_serviceNamespaceHasBeenSet =
false;
289 bool m_scheduleHasBeenSet =
false;
292 bool m_timezoneHasBeenSet =
false;
295 bool m_scheduledActionNameHasBeenSet =
false;
298 bool m_resourceIdHasBeenSet =
false;
301 bool m_scalableDimensionHasBeenSet =
false;
304 bool m_startTimeHasBeenSet =
false;
307 bool m_endTimeHasBeenSet =
false;
309 ScalableTargetAction m_scalableTargetAction;
310 bool m_scalableTargetActionHasBeenSet =
false;
PutScheduledActionRequest & WithResourceId(ResourceIdT &&value)
void SetServiceNamespace(ServiceNamespace value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ScheduledActionNameHasBeenSet() const
void SetScheduledActionName(ScheduledActionNameT &&value)
PutScheduledActionRequest & WithScheduledActionName(ScheduledActionNameT &&value)
void SetResourceId(ResourceIdT &&value)
bool ServiceNamespaceHasBeenSet() const
const ScalableTargetAction & GetScalableTargetAction() const
PutScheduledActionRequest & WithSchedule(ScheduleT &&value)
bool StartTimeHasBeenSet() const
PutScheduledActionRequest & WithServiceNamespace(ServiceNamespace value)
void SetTimezone(TimezoneT &&value)
bool TimezoneHasBeenSet() const
void SetScalableTargetAction(ScalableTargetActionT &&value)
bool ScalableDimensionHasBeenSet() const
PutScheduledActionRequest & WithEndTime(EndTimeT &&value)
bool ScalableTargetActionHasBeenSet() const
bool ScheduleHasBeenSet() const
ScalableDimension GetScalableDimension() const
PutScheduledActionRequest & WithScalableDimension(ScalableDimension value)
void SetStartTime(StartTimeT &&value)
const Aws::String & GetSchedule() const
PutScheduledActionRequest & WithStartTime(StartTimeT &&value)
PutScheduledActionRequest & WithScalableTargetAction(ScalableTargetActionT &&value)
void SetScalableDimension(ScalableDimension value)
void SetSchedule(ScheduleT &&value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
void SetEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
bool ResourceIdHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API PutScheduledActionRequest()=default
const Aws::String & GetTimezone() const
PutScheduledActionRequest & WithTimezone(TimezoneT &&value)
const Aws::String & GetResourceId() const
virtual const char * GetServiceRequestName() const override
ServiceNamespace GetServiceNamespace() const
const Aws::String & GetScheduledActionName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String