7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AutoScaling {
43 template <
typename AutoScalingGroupNameT = Aws::String>
45 m_autoScalingGroupNameHasBeenSet =
true;
46 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
48 template <
typename AutoScalingGroupNameT = Aws::String>
61 template <
typename ScheduledActionNameT = Aws::String>
63 m_scheduledActionNameHasBeenSet =
true;
64 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
66 template <
typename ScheduledActionNameT = Aws::String>
79 template <
typename ScheduledActionARNT = Aws::String>
81 m_scheduledActionARNHasBeenSet =
true;
82 m_scheduledActionARN = std::forward<ScheduledActionARNT>(value);
84 template <
typename ScheduledActionARNT = Aws::String>
97 template <
typename TimeT = Aws::Utils::DateTime>
99 m_timeHasBeenSet =
true;
100 m_time = std::forward<TimeT>(value);
102 template <
typename TimeT = Aws::Utils::DateTime>
104 SetTime(std::forward<TimeT>(value));
116 template <
typename StartTimeT = Aws::Utils::DateTime>
118 m_startTimeHasBeenSet =
true;
119 m_startTime = std::forward<StartTimeT>(value);
121 template <
typename StartTimeT = Aws::Utils::DateTime>
135 template <
typename EndTimeT = Aws::Utils::DateTime>
137 m_endTimeHasBeenSet =
true;
138 m_endTime = std::forward<EndTimeT>(value);
140 template <
typename EndTimeT = Aws::Utils::DateTime>
156 template <
typename RecurrenceT = Aws::String>
158 m_recurrenceHasBeenSet =
true;
159 m_recurrence = std::forward<RecurrenceT>(value);
161 template <
typename RecurrenceT = Aws::String>
175 m_minSizeHasBeenSet =
true;
191 m_maxSizeHasBeenSet =
true;
208 m_desiredCapacityHasBeenSet =
true;
209 m_desiredCapacity = value;
223 template <
typename TimeZoneT = Aws::String>
225 m_timeZoneHasBeenSet =
true;
226 m_timeZone = std::forward<TimeZoneT>(value);
228 template <
typename TimeZoneT = Aws::String>
253 int m_desiredCapacity{0};
256 bool m_autoScalingGroupNameHasBeenSet =
false;
257 bool m_scheduledActionNameHasBeenSet =
false;
258 bool m_scheduledActionARNHasBeenSet =
false;
259 bool m_timeHasBeenSet =
false;
260 bool m_startTimeHasBeenSet =
false;
261 bool m_endTimeHasBeenSet =
false;
262 bool m_recurrenceHasBeenSet =
false;
263 bool m_minSizeHasBeenSet =
false;
264 bool m_maxSizeHasBeenSet =
false;
265 bool m_desiredCapacityHasBeenSet =
false;
266 bool m_timeZoneHasBeenSet =
false;
ScheduledUpdateGroupAction & WithMinSize(int value)
const Aws::String & GetTimeZone() const
bool AutoScalingGroupNameHasBeenSet() const
void SetStartTime(StartTimeT &&value)
bool MinSizeHasBeenSet() const
ScheduledUpdateGroupAction & WithScheduledActionARN(ScheduledActionARNT &&value)
AWS_AUTOSCALING_API ScheduledUpdateGroupAction()=default
bool ScheduledActionNameHasBeenSet() const
void SetRecurrence(RecurrenceT &&value)
ScheduledUpdateGroupAction & WithEndTime(EndTimeT &&value)
bool StartTimeHasBeenSet() const
void SetMinSize(int value)
ScheduledUpdateGroupAction & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
ScheduledUpdateGroupAction & WithMaxSize(int value)
void SetScheduledActionName(ScheduledActionNameT &&value)
const Aws::String & GetScheduledActionName() const
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
AWS_AUTOSCALING_API ScheduledUpdateGroupAction(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledUpdateGroupAction & WithDesiredCapacity(int value)
bool TimeZoneHasBeenSet() const
void SetTimeZone(TimeZoneT &&value)
ScheduledUpdateGroupAction & WithStartTime(StartTimeT &&value)
void SetMaxSize(int value)
const Aws::String & GetAutoScalingGroupName() const
AWS_AUTOSCALING_API ScheduledUpdateGroupAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledUpdateGroupAction & WithRecurrence(RecurrenceT &&value)
bool DesiredCapacityHasBeenSet() const
bool EndTimeHasBeenSet() const
bool RecurrenceHasBeenSet() const
const Aws::String & GetRecurrence() const
const Aws::Utils::DateTime & GetEndTime() const
ScheduledUpdateGroupAction & WithScheduledActionName(ScheduledActionNameT &&value)
void SetTime(TimeT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetTime() const
bool ScheduledActionARNHasBeenSet() const
void SetDesiredCapacity(int value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledUpdateGroupAction & WithTimeZone(TimeZoneT &&value)
void SetScheduledActionARN(ScheduledActionARNT &&value)
const Aws::Utils::DateTime & GetStartTime() const
int GetDesiredCapacity() const
bool TimeHasBeenSet() const
const Aws::String & GetScheduledActionARN() const
ScheduledUpdateGroupAction & WithTime(TimeT &&value)
bool MaxSizeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream