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/InstanceRefreshProgressDetails.h>
53 inline void SetRollbackReason(
const char* value) { m_rollbackReasonHasBeenSet =
true; m_rollbackReason.assign(value); }
109 bool m_rollbackReasonHasBeenSet =
false;
112 bool m_rollbackStartTimeHasBeenSet =
false;
114 int m_percentageCompleteOnRollback;
115 bool m_percentageCompleteOnRollbackHasBeenSet =
false;
117 int m_instancesToUpdateOnRollback;
118 bool m_instancesToUpdateOnRollbackHasBeenSet =
false;
121 bool m_progressDetailsOnRollbackHasBeenSet =
false;
RollbackDetails & WithProgressDetailsOnRollback(InstanceRefreshProgressDetails &&value)
AWS_AUTOSCALING_API RollbackDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
RollbackDetails & WithInstancesToUpdateOnRollback(int value)
void SetProgressDetailsOnRollback(InstanceRefreshProgressDetails &&value)
void SetRollbackReason(const char *value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InstancesToUpdateOnRollbackHasBeenSet() const
int GetInstancesToUpdateOnRollback() const
void SetInstancesToUpdateOnRollback(int value)
RollbackDetails & WithRollbackReason(Aws::String &&value)
RollbackDetails & WithRollbackReason(const char *value)
AWS_AUTOSCALING_API RollbackDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RollbackDetails & WithPercentageCompleteOnRollback(int value)
void SetRollbackStartTime(const Aws::Utils::DateTime &value)
AWS_AUTOSCALING_API RollbackDetails()
RollbackDetails & WithProgressDetailsOnRollback(const InstanceRefreshProgressDetails &value)
RollbackDetails & WithRollbackStartTime(Aws::Utils::DateTime &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ProgressDetailsOnRollbackHasBeenSet() const
const Aws::Utils::DateTime & GetRollbackStartTime() const
bool PercentageCompleteOnRollbackHasBeenSet() const
void SetPercentageCompleteOnRollback(int value)
void SetRollbackStartTime(Aws::Utils::DateTime &&value)
void SetProgressDetailsOnRollback(const InstanceRefreshProgressDetails &value)
bool RollbackStartTimeHasBeenSet() const
RollbackDetails & WithRollbackStartTime(const Aws::Utils::DateTime &value)
void SetRollbackReason(const Aws::String &value)
void SetRollbackReason(Aws::String &&value)
const Aws::String & GetRollbackReason() const
int GetPercentageCompleteOnRollback() const
RollbackDetails & WithRollbackReason(const Aws::String &value)
bool RollbackReasonHasBeenSet() const
const InstanceRefreshProgressDetails & GetProgressDetailsOnRollback() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream