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

      json.append(cancelFeedSubmissionsResult.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(
       "<CancelFeedSubmissionsResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
   if (isSetCancelFeedSubmissionsResult()) {
     CancelFeedSubmissionsResult cancelFeedSubmissionsResult = getCancelFeedSubmissionsResult();
     xml.append("<CancelFeedSubmissionsResult>");
     xml.append(cancelFeedSubmissionsResult.toXMLFragment());
     xml.append("</CancelFeedSubmissionsResult>");
   }
   if (isSetResponseMetadata()) {
     ResponseMetadata responseMetadata = getResponseMetadata();
     xml.append("<ResponseMetadata>");
     xml.append(responseMetadata.toXMLFragment());
     xml.append("</ResponseMetadata>");
   }
   xml.append("</CancelFeedSubmissionsResponse>");
   return xml.toString();
 }