toValue method
Implementation
String toValue() {
switch (this) {
case ScalingActivityStatusCode.pending:
return 'Pending';
case ScalingActivityStatusCode.inProgress:
return 'InProgress';
case ScalingActivityStatusCode.successful:
return 'Successful';
case ScalingActivityStatusCode.overridden:
return 'Overridden';
case ScalingActivityStatusCode.unfulfilled:
return 'Unfulfilled';
case ScalingActivityStatusCode.failed:
return 'Failed';
}
}