) const {   if(m_sourceTypeHasBeenSet)   {       oStream << location << index << locationValue << ".SourceType=" << StringUtils::URLEncode(m_sourceType.c_str()) << "&";   }    if(m_eventCategoriesHasBeenSet)   {       unsigned eventCategoriesIdx = 0;       for(auto& item : m_eventCategories)       {         oStream << location << index << locationValue << ".EventCategory." << eventCategoriesIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";       }   }  }  void EventCategoriesMap::OutputToStream(Aws::OStream& oStream, const char* location) const {   if(m_sourceTypeHasBeenSet)   {       oStream << location << ".SourceType=" << StringUtils::URLEncode(m_sourceType.c_str()) << "&";   }   if(m_eventCategoriesHasBeenSet)   {       unsigned eventCategoriesIdx = 0;       for(auto& item : m_eventCategories)       {         oStream << location << ".EventCategory." << eventCategoriesIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";       }   } 