public static TerminateInstanceInAutoScalingGroupResultUnmarshaller GetInstance() { if (instance == null) { instance = new TerminateInstanceInAutoScalingGroupResultUnmarshaller(); } return(instance); }
public TerminateInstanceInAutoScalingGroupResponse Unmarshall(UnmarshallerContext context) { TerminateInstanceInAutoScalingGroupResponse response = new TerminateInstanceInAutoScalingGroupResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("TerminateInstanceInAutoScalingGroupResult", 2)) { response.TerminateInstanceInAutoScalingGroupResult = TerminateInstanceInAutoScalingGroupResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }