public static DescribeInstanceHealthResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DescribeInstanceHealthResultUnmarshaller();
            }

            return(instance);
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DescribeInstanceHealthResponse response = new DescribeInstanceHealthResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("DescribeInstanceHealthResult", 2))
                    {
                        response.DescribeInstanceHealthResult = DescribeInstanceHealthResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }