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>
11#include <aws/autoscaling/model/ScalingActivityStatusCode.h>
52 template<
typename ActivityIdT = Aws::String>
53 void SetActivityId(ActivityIdT&& value) { m_activityIdHasBeenSet =
true; m_activityId = std::forward<ActivityIdT>(value); }
54 template<
typename ActivityIdT = Aws::String>
64 template<
typename AutoScalingGroupNameT = Aws::String>
65 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
66 template<
typename AutoScalingGroupNameT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename CauseT = Aws::String>
89 void SetCause(CauseT&& value) { m_causeHasBeenSet =
true; m_cause = std::forward<CauseT>(value); }
90 template<
typename CauseT = Aws::String>
100 template<
typename StartTimeT = Aws::Utils::DateTime>
101 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
102 template<
typename StartTimeT = Aws::Utils::DateTime>
112 template<
typename EndTimeT = Aws::Utils::DateTime>
113 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
114 template<
typename EndTimeT = Aws::Utils::DateTime>
134 template<
typename StatusMessageT = Aws::String>
135 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
136 template<
typename StatusMessageT = Aws::String>
146 inline void SetProgress(
int value) { m_progressHasBeenSet =
true; m_progress = value; }
156 template<
typename DetailsT = Aws::String>
157 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
158 template<
typename DetailsT = Aws::String>
169 template<
typename AutoScalingGroupStateT = Aws::String>
170 void SetAutoScalingGroupState(AutoScalingGroupStateT&& value) { m_autoScalingGroupStateHasBeenSet =
true; m_autoScalingGroupState = std::forward<AutoScalingGroupStateT>(value); }
171 template<
typename AutoScalingGroupStateT = Aws::String>
181 template<
typename AutoScalingGroupARNT = Aws::String>
182 void SetAutoScalingGroupARN(AutoScalingGroupARNT&& value) { m_autoScalingGroupARNHasBeenSet =
true; m_autoScalingGroupARN = std::forward<AutoScalingGroupARNT>(value); }
183 template<
typename AutoScalingGroupARNT = Aws::String>
189 bool m_activityIdHasBeenSet =
false;
192 bool m_autoScalingGroupNameHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_causeHasBeenSet =
false;
201 bool m_startTimeHasBeenSet =
false;
204 bool m_endTimeHasBeenSet =
false;
207 bool m_statusCodeHasBeenSet =
false;
210 bool m_statusMessageHasBeenSet =
false;
213 bool m_progressHasBeenSet =
false;
216 bool m_detailsHasBeenSet =
false;
219 bool m_autoScalingGroupStateHasBeenSet =
false;
222 bool m_autoScalingGroupARNHasBeenSet =
false;
Activity & WithActivityId(ActivityIdT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetEndTime() const
bool ProgressHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
Activity & WithDescription(DescriptionT &&value)
Activity & WithDetails(DetailsT &&value)
void SetAutoScalingGroupState(AutoScalingGroupStateT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetAutoScalingGroupName() const
Activity & WithStatusMessage(StatusMessageT &&value)
AWS_AUTOSCALING_API Activity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetActivityId() const
bool AutoScalingGroupStateHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StartTimeHasBeenSet() const
void SetActivityId(ActivityIdT &&value)
void SetStatusCode(ScalingActivityStatusCode value)
void SetAutoScalingGroupARN(AutoScalingGroupARNT &&value)
void SetDetails(DetailsT &&value)
bool CauseHasBeenSet() const
ScalingActivityStatusCode GetStatusCode() const
Activity & WithProgress(int value)
const Aws::String & GetDescription() const
void SetStartTime(StartTimeT &&value)
bool AutoScalingGroupNameHasBeenSet() const
Activity & WithCause(CauseT &&value)
AWS_AUTOSCALING_API Activity()=default
Activity & WithEndTime(EndTimeT &&value)
bool StatusMessageHasBeenSet() const
bool AutoScalingGroupARNHasBeenSet() const
const Aws::String & GetAutoScalingGroupARN() const
void SetCause(CauseT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetStatusMessage() const
const Aws::String & GetDetails() const
bool DescriptionHasBeenSet() const
const Aws::String & GetAutoScalingGroupState() const
Activity & WithAutoScalingGroupState(AutoScalingGroupStateT &&value)
Activity & WithStartTime(StartTimeT &&value)
AWS_AUTOSCALING_API Activity(const Aws::Utils::Xml::XmlNode &xmlNode)
Activity & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
bool DetailsHasBeenSet() const
void SetProgress(int value)
const Aws::String & GetCause() const
bool StatusCodeHasBeenSet() const
Activity & WithAutoScalingGroupARN(AutoScalingGroupARNT &&value)
Activity & WithStatusCode(ScalingActivityStatusCode value)
bool ActivityIdHasBeenSet() const
bool EndTimeHasBeenSet() const
ScalingActivityStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream