Returns information about the GetHealthCheckResult response and response metadata.
Inheritance: Amazon.Runtime.AmazonWebServiceResponse
 /// <summary>
 /// Unmarshaller the response from the service to the response class.
 /// </summary>  
 /// <param name="context"></param>
 /// <returns></returns>
 public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
 {
     GetHealthCheckResponse response = new GetHealthCheckResponse();
     UnmarshallResult(context,response);
     
     return response;
 }        
        private static void UnmarshallResult(XmlUnmarshallerContext context,GetHealthCheckResponse response)
        {
            
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            
            if (context.IsStartOfDocument) 
               targetDepth += 2;
            
            while (context.Read())
            {
                if (context.IsStartElement || context.IsAttribute)
                {
                    if (context.TestExpression("HealthCheck", targetDepth))
                    {
                        response.HealthCheck = HealthCheckUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                }
                else if (context.IsEndElement && context.CurrentDepth < originalDepth)
                {
                    return;
                }
            }
                            


            return;
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetHealthCheckResponse response = new GetHealthCheckResponse();
            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    response.GetHealthCheckResult = GetHealthCheckResultUnmarshaller.GetInstance().Unmarshall(context);
                    break;
                }
            }

            return response;
        }