Returns information about the RunJobFlowResult response and response metadata.
Inheritance: Amazon.Runtime.AmazonWebServiceResponse
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   RunJobFlowResponse response = new RunJobFlowResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            RunJobFlowResponse response = new RunJobFlowResponse();

              context.Read();

              response.RunJobFlowResult = RunJobFlowResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>  
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            RunJobFlowResponse response = new RunJobFlowResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;
            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("JobFlowId", targetDepth))
                {
                    var unmarshaller = StringUnmarshaller.Instance;
                    response.JobFlowId = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

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

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

            return response;
        }
       private static void UnmarshallResult(JsonUnmarshallerContext context,RunJobFlowResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("JobFlowId", targetDepth))
             {
               context.Read();
               response.JobFlowId = StringUnmarshaller.GetInstance().Unmarshall(context);
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }