7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/ScalingActivityStatusCode.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AutoScaling {
46 template <
typename ActivityIdT = Aws::String>
48 m_activityIdHasBeenSet =
true;
49 m_activityId = std::forward<ActivityIdT>(value);
51 template <
typename ActivityIdT = Aws::String>
64 template <
typename AutoScalingGroupNameT = Aws::String>
66 m_autoScalingGroupNameHasBeenSet =
true;
67 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
69 template <
typename AutoScalingGroupNameT = Aws::String>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
100 template <
typename CauseT = Aws::String>
102 m_causeHasBeenSet =
true;
103 m_cause = std::forward<CauseT>(value);
105 template <
typename CauseT = Aws::String>
107 SetCause(std::forward<CauseT>(value));
118 template <
typename StartTimeT = Aws::Utils::DateTime>
120 m_startTimeHasBeenSet =
true;
121 m_startTime = std::forward<StartTimeT>(value);
123 template <
typename StartTimeT = Aws::Utils::DateTime>
136 template <
typename EndTimeT = Aws::Utils::DateTime>
138 m_endTimeHasBeenSet =
true;
139 m_endTime = std::forward<EndTimeT>(value);
141 template <
typename EndTimeT = Aws::Utils::DateTime>
155 m_statusCodeHasBeenSet =
true;
156 m_statusCode = value;
170 template <
typename StatusMessageT = Aws::String>
172 m_statusMessageHasBeenSet =
true;
173 m_statusMessage = std::forward<StatusMessageT>(value);
175 template <
typename StatusMessageT = Aws::String>
189 m_progressHasBeenSet =
true;
204 template <
typename DetailsT = Aws::String>
206 m_detailsHasBeenSet =
true;
207 m_details = std::forward<DetailsT>(value);
209 template <
typename DetailsT = Aws::String>
223 template <
typename AutoScalingGroupStateT = Aws::String>
225 m_autoScalingGroupStateHasBeenSet =
true;
226 m_autoScalingGroupState = std::forward<AutoScalingGroupStateT>(value);
228 template <
typename AutoScalingGroupStateT = Aws::String>
241 template <
typename AutoScalingGroupARNT = Aws::String>
243 m_autoScalingGroupARNHasBeenSet =
true;
244 m_autoScalingGroupARN = std::forward<AutoScalingGroupARNT>(value);
246 template <
typename AutoScalingGroupARNT = Aws::String>
276 bool m_activityIdHasBeenSet =
false;
277 bool m_autoScalingGroupNameHasBeenSet =
false;
278 bool m_descriptionHasBeenSet =
false;
279 bool m_causeHasBeenSet =
false;
280 bool m_startTimeHasBeenSet =
false;
281 bool m_endTimeHasBeenSet =
false;
282 bool m_statusCodeHasBeenSet =
false;
283 bool m_statusMessageHasBeenSet =
false;
284 bool m_progressHasBeenSet =
false;
285 bool m_detailsHasBeenSet =
false;
286 bool m_autoScalingGroupStateHasBeenSet =
false;
287 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