7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/application-autoscaling/model/ScalableDimension.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/application-autoscaling/model/ScalableTargetAction.h>
25namespace ApplicationAutoScaling
50 template<
typename ScheduledActionNameT = Aws::String>
51 void SetScheduledActionName(ScheduledActionNameT&& value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName = std::forward<ScheduledActionNameT>(value); }
52 template<
typename ScheduledActionNameT = Aws::String>
62 template<
typename ScheduledActionARNT = Aws::String>
63 void SetScheduledActionARN(ScheduledActionARNT&& value) { m_scheduledActionARNHasBeenSet =
true; m_scheduledActionARN = std::forward<ScheduledActionARNT>(value); }
64 template<
typename ScheduledActionARNT = 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>
115 template<
typename TimezoneT = Aws::String>
116 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
117 template<
typename TimezoneT = Aws::String>
188 template<
typename ResourceIdT = Aws::String>
189 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
190 template<
typename ResourceIdT = Aws::String>
259 template<
typename StartTimeT = Aws::Utils::DateTime>
260 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
261 template<
typename StartTimeT = Aws::Utils::DateTime>
271 template<
typename EndTimeT = Aws::Utils::DateTime>
272 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
273 template<
typename EndTimeT = Aws::Utils::DateTime>
287 template<
typename ScalableTargetActionT = ScalableTargetAction>
288 void SetScalableTargetAction(ScalableTargetActionT&& value) { m_scalableTargetActionHasBeenSet =
true; m_scalableTargetAction = std::forward<ScalableTargetActionT>(value); }
289 template<
typename ScalableTargetActionT = ScalableTargetAction>
299 template<
typename CreationTimeT = Aws::Utils::DateTime>
300 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
301 template<
typename CreationTimeT = Aws::Utils::DateTime>
307 bool m_scheduledActionNameHasBeenSet =
false;
310 bool m_scheduledActionARNHasBeenSet =
false;
313 bool m_serviceNamespaceHasBeenSet =
false;
316 bool m_scheduleHasBeenSet =
false;
319 bool m_timezoneHasBeenSet =
false;
322 bool m_resourceIdHasBeenSet =
false;
325 bool m_scalableDimensionHasBeenSet =
false;
328 bool m_startTimeHasBeenSet =
false;
331 bool m_endTimeHasBeenSet =
false;
333 ScalableTargetAction m_scalableTargetAction;
334 bool m_scalableTargetActionHasBeenSet =
false;
337 bool m_creationTimeHasBeenSet =
false;
const Aws::Utils::DateTime & GetEndTime() const
bool CreationTimeHasBeenSet() const
ScheduledAction & WithResourceId(ResourceIdT &&value)
void SetScalableDimension(ScalableDimension value)
const ScalableTargetAction & GetScalableTargetAction() const
bool StartTimeHasBeenSet() const
void SetTimezone(TimezoneT &&value)
bool ScalableTargetActionHasBeenSet() const
ScheduledAction & WithScheduledActionARN(ScheduledActionARNT &&value)
void SetEndTime(EndTimeT &&value)
void SetSchedule(ScheduleT &&value)
void SetResourceId(ResourceIdT &&value)
bool ScheduledActionARNHasBeenSet() const
const Aws::String & GetTimezone() const
ScalableDimension GetScalableDimension() const
void SetScalableTargetAction(ScalableTargetActionT &&value)
AWS_APPLICATIONAUTOSCALING_API ScheduledAction()=default
ScheduledAction & WithTimezone(TimezoneT &&value)
ScheduledAction & WithEndTime(EndTimeT &&value)
void SetScheduledActionName(ScheduledActionNameT &&value)
bool ScheduledActionNameHasBeenSet() const
ScheduledAction & WithScalableDimension(ScalableDimension value)
ScheduledAction & WithSchedule(ScheduleT &&value)
AWS_APPLICATIONAUTOSCALING_API ScheduledAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetScheduledActionARN() const
const Aws::String & GetScheduledActionName() const
const Aws::String & GetResourceId() const
void SetCreationTime(CreationTimeT &&value)
ScheduledAction & WithScalableTargetAction(ScalableTargetActionT &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceNamespace(ServiceNamespace value)
void SetStartTime(StartTimeT &&value)
ScheduledAction & WithScheduledActionName(ScheduledActionNameT &&value)
const Aws::String & GetSchedule() const
ScheduledAction & WithCreationTime(CreationTimeT &&value)
AWS_APPLICATIONAUTOSCALING_API ScheduledAction(Aws::Utils::Json::JsonView jsonValue)
bool TimezoneHasBeenSet() const
bool ServiceNamespaceHasBeenSet() const
bool ScalableDimensionHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool ScheduleHasBeenSet() const
ServiceNamespace GetServiceNamespace() const
void SetScheduledActionARN(ScheduledActionARNT &&value)
ScheduledAction & WithServiceNamespace(ServiceNamespace value)
const Aws::Utils::DateTime & GetCreationTime() const
ScheduledAction & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue