public static DescribeAutoScalingInstancesResultUnmarshaller GetInstance() { if (instance == null) { instance = new DescribeAutoScalingInstancesResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { DescribeAutoScalingInstancesResponse response = new DescribeAutoScalingInstancesResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DescribeAutoScalingInstancesResult", 2)) { response.DescribeAutoScalingInstancesResult = DescribeAutoScalingInstancesResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }