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/autoscaling/model/InstanceRefreshStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/autoscaling/model/InstanceRefreshProgressDetails.h>
13#include <aws/autoscaling/model/RefreshPreferences.h>
14#include <aws/autoscaling/model/DesiredConfiguration.h>
15#include <aws/autoscaling/model/RollbackDetails.h>
57 inline void SetInstanceRefreshId(
const char* value) { m_instanceRefreshIdHasBeenSet =
true; m_instanceRefreshId.assign(value); }
71 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
112 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
154 inline void SetPercentageComplete(
int value) { m_percentageCompleteHasBeenSet =
true; m_percentageComplete = value; }
168 inline void SetInstancesToUpdate(
int value) { m_instancesToUpdateHasBeenSet =
true; m_instancesToUpdate = value; }
223 bool m_instanceRefreshIdHasBeenSet =
false;
226 bool m_autoScalingGroupNameHasBeenSet =
false;
229 bool m_statusHasBeenSet =
false;
232 bool m_statusReasonHasBeenSet =
false;
235 bool m_startTimeHasBeenSet =
false;
238 bool m_endTimeHasBeenSet =
false;
240 int m_percentageComplete;
241 bool m_percentageCompleteHasBeenSet =
false;
243 int m_instancesToUpdate;
244 bool m_instancesToUpdateHasBeenSet =
false;
247 bool m_progressDetailsHasBeenSet =
false;
250 bool m_preferencesHasBeenSet =
false;
253 bool m_desiredConfigurationHasBeenSet =
false;
256 bool m_rollbackDetailsHasBeenSet =
false;
InstanceRefresh & WithStatusReason(Aws::String &&value)
InstanceRefresh & WithStartTime(Aws::Utils::DateTime &&value)
InstanceRefresh & WithProgressDetails(const InstanceRefreshProgressDetails &value)
const Aws::String & GetInstanceRefreshId() const
void SetProgressDetails(InstanceRefreshProgressDetails &&value)
void SetAutoScalingGroupName(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
InstanceRefresh & WithDesiredConfiguration(const DesiredConfiguration &value)
void SetStatusReason(const Aws::String &value)
InstanceRefresh & WithStatusReason(const char *value)
void SetRollbackDetails(const RollbackDetails &value)
InstanceRefresh & WithProgressDetails(InstanceRefreshProgressDetails &&value)
bool AutoScalingGroupNameHasBeenSet() const
bool StatusReasonHasBeenSet() const
InstanceRefresh & WithAutoScalingGroupName(Aws::String &&value)
void SetPreferences(RefreshPreferences &&value)
void SetStatusReason(Aws::String &&value)
const DesiredConfiguration & GetDesiredConfiguration() const
bool PercentageCompleteHasBeenSet() const
int GetPercentageComplete() const
const Aws::String & GetStatusReason() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetProgressDetails(const InstanceRefreshProgressDetails &value)
InstanceRefresh & WithInstancesToUpdate(int value)
const RefreshPreferences & GetPreferences() const
AWS_AUTOSCALING_API InstanceRefresh(const Aws::Utils::Xml::XmlNode &xmlNode)
const InstanceRefreshProgressDetails & GetProgressDetails() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool RollbackDetailsHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetStatus(InstanceRefreshStatus &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRollbackDetails(RollbackDetails &&value)
InstanceRefresh & WithStatus(const InstanceRefreshStatus &value)
const Aws::Utils::DateTime & GetStartTime() const
InstanceRefresh & WithInstanceRefreshId(const char *value)
InstanceRefresh & WithInstanceRefreshId(const Aws::String &value)
void SetInstanceRefreshId(const Aws::String &value)
void SetStatusReason(const char *value)
const InstanceRefreshStatus & GetStatus() const
bool PreferencesHasBeenSet() const
const Aws::String & GetAutoScalingGroupName() const
void SetPreferences(const RefreshPreferences &value)
InstanceRefresh & WithEndTime(Aws::Utils::DateTime &&value)
const RollbackDetails & GetRollbackDetails() const
bool InstancesToUpdateHasBeenSet() const
bool DesiredConfigurationHasBeenSet() const
InstanceRefresh & WithAutoScalingGroupName(const char *value)
void SetDesiredConfiguration(const DesiredConfiguration &value)
AWS_AUTOSCALING_API InstanceRefresh & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutoScalingGroupName(const Aws::String &value)
void SetAutoScalingGroupName(Aws::String &&value)
void SetStatus(const InstanceRefreshStatus &value)
InstanceRefresh & WithAutoScalingGroupName(const Aws::String &value)
void SetInstanceRefreshId(Aws::String &&value)
InstanceRefresh & WithStartTime(const Aws::Utils::DateTime &value)
InstanceRefresh & WithStatus(InstanceRefreshStatus &&value)
InstanceRefresh & WithDesiredConfiguration(DesiredConfiguration &&value)
bool StatusHasBeenSet() const
InstanceRefresh & WithRollbackDetails(const RollbackDetails &value)
int GetInstancesToUpdate() const
InstanceRefresh & WithRollbackDetails(RollbackDetails &&value)
void SetPercentageComplete(int value)
InstanceRefresh & WithPreferences(RefreshPreferences &&value)
InstanceRefresh & WithInstanceRefreshId(Aws::String &&value)
InstanceRefresh & WithPreferences(const RefreshPreferences &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetDesiredConfiguration(DesiredConfiguration &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetInstancesToUpdate(int value)
InstanceRefresh & WithEndTime(const Aws::Utils::DateTime &value)
void SetInstanceRefreshId(const char *value)
InstanceRefresh & WithPercentageComplete(int value)
bool StartTimeHasBeenSet() const
AWS_AUTOSCALING_API InstanceRefresh()
InstanceRefresh & WithStatusReason(const Aws::String &value)
bool InstanceRefreshIdHasBeenSet() const
bool ProgressDetailsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream