Returns information about the CreatePreset response and response metadata.
Inheritance: Amazon.ElasticTranscoder.Model.CreatePresetResult
       private static void UnmarshallResult(JsonUnmarshallerContext context,CreatePresetResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("Preset", targetDepth))
             {
               context.Read();
               response.Preset = PresetUnmarshaller.GetInstance().Unmarshall(context);
               continue;
             }
 
             if (context.TestExpression("Warning", targetDepth))
             {
               context.Read();
               response.Warning = StringUnmarshaller.GetInstance().Unmarshall(context);
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }                        
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreatePresetResponse response = new CreatePresetResponse();

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

            return response;
        }
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   CreatePresetResponse response = new CreatePresetResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreatePresetResponse response = new CreatePresetResponse();

              context.Read();

              response.CreatePresetResult = CreatePresetResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }