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>
54 inline void SetActivityId(
const char* value) { m_activityIdHasBeenSet =
true; m_activityId.assign(value); }
68 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
96 inline void SetCause(
const char* value) { m_causeHasBeenSet =
true; m_cause.assign(value); }
146 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
158 inline void SetProgress(
int value) { m_progressHasBeenSet =
true; m_progress = value; }
170 inline void SetDetails(
const char* value) { m_detailsHasBeenSet =
true; m_details.assign(value); }
185 inline void SetAutoScalingGroupState(
const char* value) { m_autoScalingGroupStateHasBeenSet =
true; m_autoScalingGroupState.assign(value); }
199 inline void SetAutoScalingGroupARN(
const char* value) { m_autoScalingGroupARNHasBeenSet =
true; m_autoScalingGroupARN.assign(value); }
207 bool m_activityIdHasBeenSet =
false;
210 bool m_autoScalingGroupNameHasBeenSet =
false;
213 bool m_descriptionHasBeenSet =
false;
216 bool m_causeHasBeenSet =
false;
219 bool m_startTimeHasBeenSet =
false;
222 bool m_endTimeHasBeenSet =
false;
225 bool m_statusCodeHasBeenSet =
false;
228 bool m_statusMessageHasBeenSet =
false;
231 bool m_progressHasBeenSet =
false;
234 bool m_detailsHasBeenSet =
false;
237 bool m_autoScalingGroupStateHasBeenSet =
false;
240 bool m_autoScalingGroupARNHasBeenSet =
false;
AWS_AUTOSCALING_API Activity()
Activity & WithAutoScalingGroupName(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
Activity & WithCause(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetEndTime() const
Activity & WithAutoScalingGroupName(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetAutoScalingGroupName(const char *value)
Activity & WithDescription(Aws::String &&value)
Activity & WithStatusMessage(const char *value)
bool ProgressHasBeenSet() const
void SetStatusCode(ScalingActivityStatusCode &&value)
void SetCause(const Aws::String &value)
Activity & WithDetails(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
Activity & WithEndTime(const Aws::Utils::DateTime &value)
void SetActivityId(const Aws::String &value)
void SetAutoScalingGroupName(const Aws::String &value)
void SetDetails(const Aws::String &value)
Activity & WithDescription(const char *value)
Activity & WithEndTime(Aws::Utils::DateTime &&value)
void SetAutoScalingGroupARN(const Aws::String &value)
Activity & WithDetails(const char *value)
const Aws::String & GetAutoScalingGroupName() const
void SetCause(const char *value)
AWS_AUTOSCALING_API Activity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetActivityId() const
Activity & WithAutoScalingGroupARN(Aws::String &&value)
bool AutoScalingGroupStateHasBeenSet() const
Activity & WithStatusCode(ScalingActivityStatusCode &&value)
void SetDescription(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StartTimeHasBeenSet() const
void SetCause(Aws::String &&value)
Activity & WithActivityId(Aws::String &&value)
void SetActivityId(const char *value)
void SetDetails(Aws::String &&value)
Activity & WithAutoScalingGroupState(const char *value)
void SetAutoScalingGroupARN(const char *value)
void SetAutoScalingGroupState(const Aws::String &value)
Activity & WithCause(Aws::String &&value)
Activity & WithAutoScalingGroupState(Aws::String &&value)
bool CauseHasBeenSet() const
Activity & WithProgress(int value)
const Aws::String & GetDescription() const
const ScalingActivityStatusCode & GetStatusCode() const
bool AutoScalingGroupNameHasBeenSet() const
Activity & WithAutoScalingGroupState(const Aws::String &value)
bool StatusMessageHasBeenSet() const
void SetAutoScalingGroupState(const char *value)
Activity & WithAutoScalingGroupName(Aws::String &&value)
bool AutoScalingGroupARNHasBeenSet() const
Activity & WithStatusMessage(Aws::String &&value)
void SetStatusMessage(const char *value)
void SetAutoScalingGroupState(Aws::String &&value)
Activity & WithDescription(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
Activity & WithActivityId(const char *value)
Activity & WithStatusCode(const ScalingActivityStatusCode &value)
Activity & WithStatusMessage(const Aws::String &value)
void SetDetails(const char *value)
void SetStatusMessage(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
Activity & WithAutoScalingGroupARN(const char *value)
void SetAutoScalingGroupName(Aws::String &&value)
const Aws::String & GetAutoScalingGroupARN() const
Activity & WithAutoScalingGroupARN(const Aws::String &value)
void SetActivityId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetAutoScalingGroupARN(Aws::String &&value)
const Aws::String & GetStatusMessage() const
const Aws::String & GetDetails() const
bool DescriptionHasBeenSet() const
const Aws::String & GetAutoScalingGroupState() const
Activity & WithStartTime(const Aws::Utils::DateTime &value)
Activity & WithCause(const char *value)
void SetStatusMessage(Aws::String &&value)
AWS_AUTOSCALING_API Activity(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DetailsHasBeenSet() const
Activity & WithStartTime(Aws::Utils::DateTime &&value)
void SetProgress(int value)
Activity & WithActivityId(const Aws::String &value)
const Aws::String & GetCause() const
bool StatusCodeHasBeenSet() const
void SetStatusCode(const ScalingActivityStatusCode &value)
Activity & WithDetails(Aws::String &&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