7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename AutoScalingGroupNameT = Aws::String>
50 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
51 template<
typename AutoScalingGroupNameT = Aws::String>
61 template<
typename ScheduledActionNameT = Aws::String>
62 void SetScheduledActionName(ScheduledActionNameT&& value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName = std::forward<ScheduledActionNameT>(value); }
63 template<
typename ScheduledActionNameT = Aws::String>
73 template<
typename ScheduledActionARNT = Aws::String>
74 void SetScheduledActionARN(ScheduledActionARNT&& value) { m_scheduledActionARNHasBeenSet =
true; m_scheduledActionARN = std::forward<ScheduledActionARNT>(value); }
75 template<
typename ScheduledActionARNT = Aws::String>
85 template<
typename TimeT = Aws::Utils::DateTime>
86 void SetTime(TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
87 template<
typename TimeT = Aws::Utils::DateTime>
98 template<
typename StartTimeT = Aws::Utils::DateTime>
99 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
100 template<
typename StartTimeT = Aws::Utils::DateTime>
111 template<
typename EndTimeT = Aws::Utils::DateTime>
112 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
113 template<
typename EndTimeT = Aws::Utils::DateTime>
126 template<
typename RecurrenceT = Aws::String>
127 void SetRecurrence(RecurrenceT&& value) { m_recurrenceHasBeenSet =
true; m_recurrence = std::forward<RecurrenceT>(value); }
128 template<
typename RecurrenceT = Aws::String>
138 inline void SetMinSize(
int value) { m_minSizeHasBeenSet =
true; m_minSize = value; }
148 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
159 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
169 template<
typename TimeZoneT = Aws::String>
170 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet =
true; m_timeZone = std::forward<TimeZoneT>(value); }
171 template<
typename TimeZoneT = Aws::String>
177 bool m_autoScalingGroupNameHasBeenSet =
false;
180 bool m_scheduledActionNameHasBeenSet =
false;
183 bool m_scheduledActionARNHasBeenSet =
false;
186 bool m_timeHasBeenSet =
false;
189 bool m_startTimeHasBeenSet =
false;
192 bool m_endTimeHasBeenSet =
false;
195 bool m_recurrenceHasBeenSet =
false;
198 bool m_minSizeHasBeenSet =
false;
201 bool m_maxSizeHasBeenSet =
false;
203 int m_desiredCapacity{0};
204 bool m_desiredCapacityHasBeenSet =
false;
207 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