Returns information about the GetHostnameSuggestion response and response metadata.
Наследование: GetHostnameSuggestionResult
       private static void UnmarshallResult(JsonUnmarshallerContext context,GetHostnameSuggestionResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("LayerId", targetDepth))
             {
               context.Read();
               response.LayerId = StringUnmarshaller.GetInstance().Unmarshall(context);
               continue;
             }
 
             if (context.TestExpression("Hostname", targetDepth))
             {
               context.Read();
               response.Hostname = StringUnmarshaller.GetInstance().Unmarshall(context);
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }                        
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            GetHostnameSuggestionResponse response = new GetHostnameSuggestionResponse();

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

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

              context.Read();

              response.GetHostnameSuggestionResult = GetHostnameSuggestionResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }