/**
   * JSON string representation of this object
   *
   * @return JSON String
   */
  public String toJSON() {
    StringBuffer json = new StringBuffer();
    json.append("{\"GetReportListResponse\" : {");
    json.append(quoteJSON("@xmlns"));
    json.append(" : ");
    json.append(quoteJSON("http://mws.amazonaws.com/doc/2009-01-01/"));
    boolean first = true;
    json.append(", ");
    if (isSetGetReportListResult()) {
      if (!first) json.append(", ");
      json.append("\"GetReportListResult\" : {");
      GetReportListResult getReportListResult = getGetReportListResult();

      json.append(getReportListResult.toJSONFragment());
      json.append("}");
      first = false;
    }
    if (isSetResponseMetadata()) {
      if (!first) json.append(", ");
      json.append("\"ResponseMetadata\" : {");
      ResponseMetadata responseMetadata = getResponseMetadata();

      json.append(responseMetadata.toJSONFragment());
      json.append("}");
      first = false;
    }
    json.append("}");
    json.append("}");
    return json.toString();
  }
 /**
  * XML string representation of this object
  *
  * @return XML String
  */
 public String toXML() {
   StringBuffer xml = new StringBuffer();
   xml.append("<GetReportListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
   if (isSetGetReportListResult()) {
     GetReportListResult getReportListResult = getGetReportListResult();
     xml.append("<GetReportListResult>");
     xml.append(getReportListResult.toXMLFragment());
     xml.append("</GetReportListResult>");
   }
   if (isSetResponseMetadata()) {
     ResponseMetadata responseMetadata = getResponseMetadata();
     xml.append("<ResponseMetadata>");
     xml.append(responseMetadata.toXMLFragment());
     xml.append("</ResponseMetadata>");
   }
   xml.append("</GetReportListResponse>");
   return xml.toString();
 }